Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for replaceUrl (0.06 sec)

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

            String url = responseData.getUrl();
            final String indexingTarget = crawlingConfig.getIndexingTarget(url);
            url = pathMappingHelper.replaceUrl(sessionId, url);
    
            final FieldConfigs fieldConfigs = new FieldConfigs(crawlingConfig.getConfigParameterMap(ConfigName.FIELD));
    
            String urlEncoding;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java

        protected String getFilePath(final String url) {
            return url.replaceAll("/+", "/")
                    .replace("./", "")
                    .replace("../", "")
                    .replaceAll("/$", "/index.html")
                    .replaceAll("\\?", questionStr)
                    .replaceAll(":", colonStr)
                    .replaceAll(";", semicolonStr)
                    .replaceAll("&", ampersandStr);
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

                    buf.append('\t').append("action:begin");
                    buf.append('\t').append("error:").append(escapeValue(e.getLocalizedMessage()).replaceAll("\\s", " "));
                    log(buf);
                }
            });
        }
    
        /**
         * Records a statistics action for the specified crawler object.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                } else if (lowerPath.endsWith("/")) {
                    response.setContentType("text/html;charset=utf-8");
                }
            }
    
            Path filePath = ResourceUtil.getSitePath(path.replaceAll("\\.\\.+", StringUtil.EMPTY).replaceAll("/+", "/").split("/"));
            if (Files.isDirectory(filePath)) {
                filePath = filePath.resolve("index.html");
            }
            if (Files.exists(filePath)) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/PathValidator.java

            // Replace forward slashes with backslashes for consistency
            String normalized = path.replace('/', '\\');
    
            // Remove duplicate slashes
            normalized = normalized.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's the root
            if (normalized.length() > 1 && normalized.endsWith("\\")) {
                normalized = normalized.substring(0, normalized.length() - 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

         * @param value The value.
         * @return The decoded value.
         */
        public static String decodeJsp(final String value) {
            return value.replaceAll("<%(?![@-])([\\s\\S]*?)%>", "&lt;%$1%&gt;")
                    .replaceAll("<%=([\\s\\S]*?)%>", "&lt;%=$1%&gt;")
                    .replace(TRY_STATEMENT, "<% try{ %>")
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                    extention = strings[strings.length - 1];
                } else {
                    filePrefix = name;
                    extention = "";
                }
                filePrefix = filePrefix.replaceAll("\\p{Zs}", "_");
            } else {
                filePrefix = "none";
                extention = "";
            }
            File inputFile = null;
            File outputFile = null;
            try {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/audit/SecurityAuditLogger.java

                    return data; // No sensitive patterns detected, skip regex
                }
            }
    
            // Mask passwords and secrets using cached pattern
            return PASSWORD_PATTERN.matcher(data).replaceAll("$1$2****");
        }
    
        private Map<String, Object> maskContext(Map<String, Object> context) {
            if (!maskSensitiveData) {
                return context;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

            validateSmbPath(path);
    
            // Normalize slashes
            path = path.replace('/', '\\');
    
            // Remove redundant slashes
            path = path.replaceAll("\\\\+", "\\\\");
    
            // Remove trailing slash unless it's root
            if (path.length() > 1 && path.endsWith("\\")) {
                path = path.substring(0, path.length() - 1);
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/JodExtractor.java

         *
         * @param resourceName the resource name
         * @return the file name
         */
        private String getFileName(final String resourceName) {
            final String name = resourceName.replaceAll("/+$", "");
            final int pos = name.lastIndexOf('/');
            if (pos >= 0) {
                return name.substring(pos + 1);
            }
            return name;
        }
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
Back to top