Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_getPyFilePath_withComplexDirectoryTraversal (2.1 sec)

  1. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                    + "//malicious.py";
            assertEquals(expectedPath, pythonJob.getPyFilePath());
        }
    
        // Test getPyFilePath with complex directory traversal
        public void test_getPyFilePath_withComplexDirectoryTraversal() {
            pythonJob.filename("../test/../../../etc/passwd");
    
            String expectedPath = "WEB-INF" + File.separator + "env" + File.separator + "python" + File.separator + "resources" + File.separator
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
Back to top