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 9fc8262 commit 0c77603Copy full SHA for 0c77603
src/main/java/eu/righettod/SecurityUtils.java
@@ -1179,11 +1179,6 @@ public static boolean isPathSafe(String path) {
1179
File f = new File(decodedPath);
1180
String canonicalPath = f.getCanonicalPath();
1181
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);
1187
isSafe = canonicalPath.equals(absolutePath);
1188
}
1189
0 commit comments