Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for normalizePath (0.33 seconds)

  1. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                if (path != null && path.startsWith("/../")) {
                    String normalizedPath = path;
                    while (normalizedPath.startsWith("/../")) {
                        normalizedPath = normalizedPath.substring(3);
                    }
                    if (!normalizedPath.startsWith("/")) {
                        normalizedPath = "/" + normalizedPath;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

                throw new IllegalArgumentException("File path cannot be blank.");
            }
            try {
                final Path filePath = Paths.get(path).normalize();
                final String normalizedPath = filePath.toString();
                if (normalizedPath.contains("..")) {
                    throw new IllegalArgumentException("Invalid file path: path=" + path);
                }
                final File file = filePath.toFile();
    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)
Back to Top