Skip to content

Commit bafe357

Browse files
committed
V3
1 parent 0c40223 commit bafe357

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

javascript/ql/lib/semmle/javascript/security/dataflow/CodeInjectionQuery.qll

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class Configuration extends TaintTracking::Configuration {
1818

1919
override predicate isSource(DataFlow::Node source) { source instanceof Source }
2020

21-
override predicate isSink(DataFlow::Node sink) { sink instanceof Sink and
22-
sink.getFile().getLocation().toString().matches("%script%") }
21+
override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
2322

2423
override predicate isSanitizer(DataFlow::Node node) {
2524
super.isSanitizer(node) or

0 commit comments

Comments
 (0)