Skip to content

Commit 6b268c4

Browse files
Jami CogswellJami Cogswell
Jami Cogswell
authored and
Jami Cogswell
committed
Java: fix copy-paste typo
1 parent d0dd6b4 commit 6b268c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/lib/semmle/code/java/security/PathSanitizer.qll

+1
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,7 @@ private predicate isMultipleReplaceOrReplaceAll(ReplaceOrReplaceAllCall mc1) {
526526
targetValue1 = getADirChar() and
527527
targetValue2 = getADirChar()
528528
|
529+
mc2.getQualifier() = mc1 and
529530
target1.getStringValue() = targetValue1 and
530531
target2.getStringValue() = targetValue2 and
531532
mc2.getArgument(1).(CompileTimeConstantExpr).getStringValue() = getAReplacementChar() and

0 commit comments

Comments
 (0)