Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f3c496 commit 68fae9dCopy full SHA for 68fae9d
1 file changed
javascript/ql/test/query-tests/Security/CWE-116/IncompleteSanitization/tst.js
@@ -145,8 +145,8 @@ function newlines(s) {
145
// motivation for whitelist
146
require("child_process").execSync("which emacs").toString().replace("\n", "");
147
148
- x.replace("\n", "").replace(x, y);
149
- x.replace(x, y).replace("\n", "");
+ x.replace("\n", "").replace(x, y); // $ Alert[js/incomplete-sanitization]
+ x.replace(x, y).replace("\n", ""); // $ Alert[js/incomplete-sanitization]
150
}
151
152
app.get('/some/path', function(req, res) {
0 commit comments