mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Simplify the query
This commit is contained in:
@@ -179,9 +179,7 @@ abstract class SanitizedNode extends DataFlow::Node { }
|
||||
|
||||
class NodeWithPathNormalizer extends SanitizedNode {
|
||||
NodeWithPathNormalizer() {
|
||||
exists(MethodAccess ma |
|
||||
DataFlow::localExprFlow(this.asExpr(), ma) and ma instanceof PathNormalizeSanitizer
|
||||
)
|
||||
DataFlow::localExprFlow(this.asExpr(), any(PathNormalizeSanitizer ma))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user