mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Refactor PermissiveDotRegex.ql
This commit is contained in:
@@ -14,10 +14,10 @@
|
||||
|
||||
import java
|
||||
import semmle.code.java.dataflow.FlowSources
|
||||
import DataFlow::PathGraph
|
||||
import MatchRegexFlow::PathGraph
|
||||
import PermissiveDotRegexQuery
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink, MatchRegexConfiguration conf
|
||||
where conf.hasFlowPath(source, sink)
|
||||
from MatchRegexFlow::PathNode source, MatchRegexFlow::PathNode sink
|
||||
where MatchRegexFlow::flowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "Potentially authentication bypass due to $@.",
|
||||
source.getNode(), "user-provided value"
|
||||
|
||||
Reference in New Issue
Block a user