Skip to content

Commit 0c77603

Browse files
author
drighetto
committed
Debug UT
1 parent 9fc8262 commit 0c77603

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/eu/righettod/SecurityUtils.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,11 +1179,6 @@ public static boolean isPathSafe(String path) {
11791179
File f = new File(decodedPath);
11801180
String canonicalPath = f.getCanonicalPath();
11811181
String absolutePath = f.getAbsolutePath();
1182-
System.out.println("---");
1183-
System.out.printf("IN PATH : %s\n", path);
1184-
System.out.printf("DECODED PATH: %s\n", decodedPath);
1185-
System.out.printf("CANONICAL PATH: %s\n", canonicalPath);
1186-
System.out.printf("ABSOLUTE PATH: %s\n", absolutePath);
11871182
isSafe = canonicalPath.equals(absolutePath);
11881183
}
11891184
}

0 commit comments

Comments
 (0)