Skip to content

Commit d9825b2

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: remove comment from testing
1 parent 7837ad6 commit d9825b2

File tree

1 file changed

+0
-1
lines changed
  • java/ql/test/library-tests/pathsanitizer

1 file changed

+0
-1
lines changed

java/ql/test/library-tests/pathsanitizer/Test.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ public void exactPathMatchGuard() throws Exception {
6464
}
6565

6666
private void allowListGuardValidation(String path) throws Exception {
67-
//if (path.indexOf("..") != -1 || !path.startsWith("/safe"))
6867
if (path.contains("..") || !path.startsWith("/safe"))
6968
throw new Exception();
7069
}

0 commit comments

Comments
 (0)