Skip to content

Commit 28ba78c

Browse files
committed
add explicit this
1 parent d73b2ef commit 28ba78c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,11 +513,11 @@ module TaintedPath {
513513

514514
override predicate blocks(boolean outcome, Expr e) {
515515
member = "relative" and
516-
e = maybeGetPathSuffix(pathCall.getArgument(1)).asExpr() and
516+
e = this.maybeGetPathSuffix(pathCall.getArgument(1)).asExpr() and
517517
outcome = startsWith.getPolarity().booleanNot()
518518
or
519519
not member = "relative" and
520-
e = maybeGetPathSuffix(pathCall.getArgument(0)).asExpr() and
520+
e = this.maybeGetPathSuffix(pathCall.getArgument(0)).asExpr() and
521521
outcome = startsWith.getPolarity()
522522
}
523523

0 commit comments

Comments
 (0)