Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_getPyFilePath_withComplexDirectoryTraversal (0.25 seconds)

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

                    + "//malicious.py";
            assertEquals(expectedPath, pythonJob.getPyFilePath());
        }
    
        // Test getPyFilePath with complex directory traversal
        @Test
        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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 22.2K bytes
    - Click Count (0)
Back to Top