Skip to content

Commit c49bf01

Browse files
committed
Refactor PermissiveDotRegex.ql
1 parent 5164c24 commit c49bf01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/src/experimental/Security/CWE/CWE-625/PermissiveDotRegex.ql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
import java
1616
import semmle.code.java.dataflow.FlowSources
17-
import DataFlow::PathGraph
17+
import MatchRegexFlow::PathGraph
1818
import PermissiveDotRegexQuery
1919

20-
from DataFlow::PathNode source, DataFlow::PathNode sink, MatchRegexConfiguration conf
21-
where conf.hasFlowPath(source, sink)
20+
from MatchRegexFlow::PathNode source, MatchRegexFlow::PathNode sink
21+
where MatchRegexFlow::flowPath(source, sink)
2222
select sink.getNode(), source, sink, "Potentially authentication bypass due to $@.",
2323
source.getNode(), "user-provided value"

0 commit comments

Comments
 (0)