Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for DIRECTORY (1.94 sec)

  1. pom.xml

    						<!-- logs (empty) -->
    						<mapping>
    							<directory>${packaging.fess.log.dir}</directory>
    						</mapping>
    						<!-- temp (empty) -->
    						<mapping>
    							<directory>${packaging.fess.temp.dir}</directory>
    						</mapping>
    						<!-- dictionary (empty) -->
    						<mapping>
    							<directory>${packaging.fess.dictionary.dir}</directory>
    							<filemode>755</filemode>
    							<username>opensearch</username>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 08:30:43 UTC 2025
    - 49.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/storage/StorageItem.java

         * @param path the path of the item
         * @param directory true if this item is a directory
         * @param size the size of the item in bytes
         * @param lastModified the last modified timestamp
         * @param encodedId the base64-encoded ID of the item
         */
        public StorageItem(final String name, final String path, final boolean directory, final long size, final ZonedDateTime lastModified,
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

        /**
         * Validates that a given path is safe and does not attempt path traversal attacks.
         * <p>
         * This method checks if the resolved absolute path starts with the allowed base directory,
         * preventing access to files outside the intended directory through path traversal
         * techniques like "../../../etc/passwd".
         * </p>
         * <p>
         * Example usage:
         * </p>
         * <pre>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/fs/FileSystemClient.java

                    }
                } else if (file.isDirectory()) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Processing directory: directory={}", file.getAbsolutePath());
                    }
                    final Set<RequestData> requestDataSet = new HashSet<>();
                    if (includeContent) {
                        final File[] files = file.listFiles();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/FileUtilTest.java

            assertFalse("Unsafe file should be blocked", FileUtil.isPathSafe(unsafeFile, baseDir));
        }
    
        /**
         * Test isPathSafe with path inside base directory
         *
         * @throws Exception
         */
        @Test
        public void testIsPathSafe_PathInsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

        protected String outputExtension = null;
    
        /** The temporary directory for input/output files. */
        protected File tempDir = null;
    
        /** The command to execute. */
        protected String command;
    
        /** The timeout for command execution in milliseconds. */
        protected long executionTimeout = 30L * 1000L; // 30sec
    
        /** The working directory for the command. */
        protected File workingDirectory = null;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

                        .forEach(k -> addSystemProperty(cmdList, k.toString(), null, null));
            }
        }
    
        /**
         * Deletes the specified temporary directory.
         * Logs a warning if the directory cannot be deleted.
         *
         * @param ownTmpDir the temporary directory to delete
         */
        protected void deleteTempDir(final File ownTmpDir) {
            if (ownTmpDir == null) {
                return;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    return false;
                }
                final File directory = dir.toFile();
                if (directory.list() != null && directory.list().length == 0 && !THUMBNAILS_DIR_NAME.equals(directory.getName())) {
                    Files.delete(dir);
                    if (logger.isDebugEnabled()) {
                        logger.debug("Deleted empty directory: {}", dir);
                    }
                    return true;
                }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractExtractor.java

         * @param directory The directory in which the file is to be created, or null if the default temporary-file directory is to be used.
         * @return The created temporary file.
         */
        protected File createTempFile(final String prefix, final String suffix, final File directory) {
            try {
                final File tempFile = File.createTempFile(prefix, suffix, directory);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/s3/S3ClientTest.java

                    // Verify the prefix is correct
                    assertEquals("crawler-S3Client-", prefix);
                    assertEquals("Temp file suffix should be '.out'", ".out", suffix);
                    assertNull("Directory should be null", directory);
                    return super.createTempFile(prefix, suffix, directory);
                }
            };
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top