mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
update {cs/java}/regex-injection to match javascript
This commit is contained in:
@@ -85,5 +85,5 @@ class RegexInjectionConfiguration extends TaintTracking::Configuration {
|
||||
|
||||
from DataFlow::PathNode source, DataFlow::PathNode sink, RegexInjectionConfiguration c
|
||||
where c.hasFlowPath(source, sink)
|
||||
select sink.getNode(), source, sink, "$@ is user controlled.", source.getNode(),
|
||||
"This regular expression pattern"
|
||||
select sink.getNode(), source, sink, "This regular expression is constructed from a $@.",
|
||||
source.getNode(), "user-provided value"
|
||||
|
||||
Reference in New Issue
Block a user