Skip to content

Commit 0d64a0f

Browse files
committed
update consistency comment for CWE-730
1 parent 5a87628 commit 0d64a0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/ql/test/query-tests/Security/CWE-730/RegExpInjection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ app.get('/findKey', function(req, res) {
4747
maybeString.search(input); // NOT OK
4848
notString.search(input); // OK
4949

50-
URI(`${protocol}://${host}${path}`).search(input); // OK, but still flagged
50+
URI(`${protocol}://${host}${path}`).search(input); // OK, but still flagged [INCONSISTENCY]
5151
URI(`${protocol}://${host}${path}`).search(input).href(); // OK
5252
unknown.search(input).unknown; // OK
5353

0 commit comments

Comments
 (0)