- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for createMockThemeZipWithDangerousPaths (0.11 sec)
-
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
} public void test_install_pathTraversalPrevention() throws IOException { // Create a zip with potentially dangerous paths Path jarPath = tempDir.resolve("malicious.jar"); createMockThemeZipWithDangerousPaths(jarPath); ThemeHelper mockThemeHelper = new ThemeHelper() { @Override protected Path getJarFile(Artifact artifact) { return jarPath; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0)