We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a41688 commit d628cc5Copy full SHA for d628cc5
cpp/ql/src/Security/CWE/CWE-290/AuthenticationBypass.ql
@@ -32,7 +32,7 @@ predicate hardCodedAddressOrIP(StringLiteral txt) {
32
s.regexpMatch("\"[0-9]+[.][0-9]+[.][0-9]+[.][0-9]+\"") or
33
// Hard-coded addresses such as www.mycompany.com
34
s.regexpMatch("\"(www\\.|http:|https:).*\"") or
35
- s.regexpMatch("\".*\\.(" + concat(getATopLevelDomain(), "|") + ")\"")
+ s.regexpMatch("\".*\\.(" + strictconcat(getATopLevelDomain(), "|") + ")\"")
36
)
37
}
38
0 commit comments