Eliminate false positives caused by .

This commit is contained in:
haby0
2021-09-16 20:59:34 +08:00
parent 9e63aa9d84
commit 0277601705

View File

@@ -124,7 +124,7 @@ private class CompareSink extends ClientSuppliedIpUsedInSecurityCheckSink {
compare.getLeft() = this.asExpr()
or
compare.getComparator(0) = this.asExpr() and
not compare.getLeft().(StrConst).getText() in ["%", ","]
not compare.getLeft().(StrConst).getText() in ["%", ",", "."]
)
)
}