We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5c9ea commit e47575cCopy full SHA for e47575c
javascript/ql/src/semmle/javascript/security/dataflow/TaintedPathCustomizations.qll
@@ -285,7 +285,7 @@ module TaintedPath {
285
exists(RegExpSequence seq | seq = result |
286
seq.getChild(0).getConstantValue() = "." and
287
seq.getChild(1).getConstantValue() = "." and
288
- seq.getAChild().getAMatchedString() = "/"
+ seq.getChild(2).getAMatchedString() = "/"
289
)
290
or
291
exists(RegExpGroup group | result = group | group.getChild(0) = getADotDotSlashMatcher())
0 commit comments