Skip to content

Commit 4b8ab93

Browse files
author
drighetto
committed
Debug UT
1 parent 822a68c commit 4b8ab93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/eu/righettod/TestSecurityUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ public void isPathSafe() {
542542
"%25252525252Fhome%25252525252F%25252525252E%25252525252E%25252525252F%25252525252E%25252525252E%25252525252F%25252525252E%25252525252E%25252525252F%25252525252E%25252525252E%25252525252Fetc%25252525252Fpassword", //URL encoding X6
543543
"/home/..\\/..\\/..\\/..\\/etc/password",
544544
"/home/..\\\\/..\\/..\\\\/..\\/etc/password",
545-
"D:\\test..\\\\\\test"
545+
"D:\\test..\\\\..\\test"
546546
);
547547
invalidPaths.forEach(p -> {
548548
assertFalse(SecurityUtils.isPathSafe(p), String.format(templateMsgFalseNegative, p));

0 commit comments

Comments
 (0)