mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
update consistency comment for CWE-730
This commit is contained in:
@@ -47,7 +47,7 @@ app.get('/findKey', function(req, res) {
|
||||
maybeString.search(input); // NOT OK
|
||||
notString.search(input); // OK
|
||||
|
||||
URI(`${protocol}://${host}${path}`).search(input); // OK, but still flagged
|
||||
URI(`${protocol}://${host}${path}`).search(input); // OK, but still flagged [INCONSISTENCY]
|
||||
URI(`${protocol}://${host}${path}`).search(input).href(); // OK
|
||||
unknown.search(input).unknown; // OK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user