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.
2 parents d942305 + d2bb072 commit d41a3baCopy full SHA for d41a3ba
src/test/java/org/owasp/esapi/reference/ValidatorTest.java
@@ -404,7 +404,7 @@ public void testIsValidDirectoryPathGHSL_POC() throws IOException {
404
405
String invalidPath = tempFolder.newFolder("esapi-test2").getAbsolutePath();
406
File parent = tempFolder.newFolder("sibling-of-esapi-test2");
407
- String validPath = tempFolder.newFolder("sibling-of-esapi-test2", "child").getAbsolutePath();
+ String validPath = tempFolder.newFolder("sibling-of-esapi-test2", "child").getCanonicalPath();
408
409
// Before the fix, this incorrectly would return 'true' even though
410
// 'esapi-test2' directory clearly was not within the 'esapi-test'
0 commit comments