update consistency comment for CWE-730

This commit is contained in:
Erik Krogh Kristensen
2020-07-08 10:07:34 +02:00
parent 5a87628478
commit 0d64a0f2c8

View File

@@ -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