- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for logfile (0.06 seconds)
-
src/test/java/org/codelibs/fess/helper/SystemHelperTest.java
} @Test public void test_getLogFilePath() { final File logFile = new File(systemHelper.getLogFilePath()); assertEquals("logs", logFile.getName()); assertEquals("target", logFile.getParentFile().getName()); try { System.setProperty("fess.log.path", "logpath");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 44.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java
@Test public void test_isValidUploadPath_pathTraversal_outsideBase() throws Exception { // Test file outside base directory File baseDir = new File(tempDir.toFile(), "images"); baseDir.mkdirs(); File outsideFile = new File(tempDir.toFile(), "css/style.css"); Boolean result = invokeIsValidUploadPath(outsideFile, baseDir); assertFalse("File outside base directory should be blocked", result);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 13.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/app/web/base/FessAdminActionTest.java
assertTrue("Error message should contain var path: " + message, message.contains(varDir.toFile().getCanonicalPath())); assertTrue("Error message should contain webapp path: " + message, message.contains(webappDir.toFile().getCanonicalPath())); assertTrue("Error message should contain conf path: " + message, message.contains(confDir.toFile().getCanonicalPath())); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 22.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); tempDir = Files.createTempDirectory("thumbnail-test"); tempOutputFile = Files.createTempFile(tempDir, "thumbnail", ".png").toFile(); // Create a test implementation of ThumbnailGenerator thumbnailGenerator = new TestThumbnailGenerator(); } @Override protected void tearDown(TestInfo testInfo) throws Exception {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 11.7K bytes - Click Count (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Feb 11 11:05:07 GMT 2026 - 14.3K bytes - Click Count (1) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Create temp directory for testing tempDir = Files.createTempDirectory("thumbnail_test").toFile(); tempDir.deleteOnExit(); // Create a test thumbnail manager with minimal initialization thumbnailManager = new TestThumbnailManager(); thumbnailManager.baseDir = tempDir;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 20.4K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt
fun File.withUniqueDirectory(prefixPath: String): File = Files.createTempDirectory( withDirectory(prefixPath.substringBeforeLast("/")).toPath(), prefixPath.substringAfterLast("/") ).toFile() private fun File.withDirectory(path: String): File = resolve(path).apply { mkdirs() } private
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Jan 19 11:30:48 GMT 2026 - 18.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
*/ public static File[] getPluginJarFiles(final FilenameFilter filter) { final File libDir = getPluginPath().toFile(); if (!libDir.exists()) { return new File[0]; } return libDir.listFiles(filter); } /** * Resolves system properties in a given string.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
if (normalizedPath.contains("..")) { throw new IllegalArgumentException("Invalid file path: path=" + path); } final File file = filePath.toFile(); final String canonicalPath = file.getCanonicalPath(); final String[] allowedPathProperties = { "fess.var.path", "fess.webapp.path", "fess.conf.path" }; boolean isAllowed = false;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ThreadDumpUtilTest.java
// Read and verify file content List<String> lines = new ArrayList<>(); try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(tempFile.toFile()), Constants.CHARSET_UTF_8))) { String line; while ((line = reader.readLine()) != null) { lines.add(line); } }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0)