Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for replaceUrl (0.27 sec)

  1. src/main/java/org/codelibs/fess/entity/ParamMap.java

        @Override
        public void forEach(final BiConsumer<? super K, ? super V> action) {
            parent.forEach(action);
        }
    
        @Override
        public void replaceAll(final BiFunction<? super K, ? super V, ? extends V> function) {
            parent.replaceAll(function);
        }
    
        @Override
        public V putIfAbsent(final K key, final V value) {
            return parent.putIfAbsent(key, value);
        }
    
        @Override
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. 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)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/UrlConvertHelper.java

            if (url == null) {
                return null;
            }
            String convertedUrl = url;
            for (final Map.Entry<String, String> entry : convertMap.entrySet()) {
                convertedUrl = convertedUrl.replaceAll(entry.getKey(), entry.getValue());
            }
            return convertedUrl;
        }
    
        /**
         * Adds a conversion rule.
         *
         * @param target The target string.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/log/ApiAdminLogAction.java

         */
        // GET /api/admin/log/file/{id}
        @Execute
        public StreamResponse get$file(final String id) {
            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         */
        public static String replace(final Object input, final String regex, final String replacement) {
            if (input == null) {
                return StringUtil.EMPTY;
            }
            return input.toString().replaceAll(regex, replacement);
        }
    
        /**
         * Formats code content with syntax highlighting and line numbers.
         *
         * @param prefix the line number prefix pattern
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  6. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public ActionResponse download(final String id) {
            final String filename = new String(Base64.getDecoder().decode(id), StandardCharsets.UTF_8).replace("..", "").replaceAll("\\s", "");
            final String logFilePath = systemHelper.getLogFilePath();
            if (StringUtil.isNotBlank(logFilePath) && isLogFilename(filename)) {
                final Path path = Paths.get(logFilePath, filename);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/org/codelibs/fess/api/BaseApiManager.java

            String value = request.getParameter("type");
            if (value == null) {
                final String servletPath = request.getServletPath();
                final String[] values = servletPath.replaceAll("/+", "/").split("/");
                if (values.length > 2) {
                    value = values[2];
                }
            }
            if (value == null) {
                return FormatType.SEARCH;
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  9. 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)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/TextTransformer.java

            String name = responseData.getUrl();
            final String enc = responseData.getCharSet();
    
            if (name == null || enc == null) {
                return null;
            }
    
            name = name.replaceAll("/+$", "");
            final int idx = name.lastIndexOf('/');
            if (idx >= 0) {
                name = name.substring(idx + 1);
            }
            try {
                return URLDecoder.decode(name, enc);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top