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 3ef7a09 commit 0000c72Copy full SHA for 0000c72
go/ql/src/Security/CWE-020/IncompleteHostnameRegexp.ql
@@ -84,11 +84,6 @@ module IncompleteHostNameRegexpConfig implements DataFlow::ConfigSig {
84
exists(Expr e |
85
e = source.asExpr() and
86
isIncompleteHostNameRegexpPattern(e.getStringValue(), hostPart)
87
- |
88
- e instanceof StringLit
89
- or
90
- e instanceof AddExpr and
91
- not isIncompleteHostNameRegexpPattern(e.(AddExpr).getAnOperand().getStringValue(), _)
92
)
93
}
94
0 commit comments