Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for encodeUrlFilter (1.54 sec)

  1. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            String path = null;
            assertNull(systemHelper.encodeUrlFilter(path));
    
            path = "abc";
            assertEquals(path, systemHelper.encodeUrlFilter(path));
    
            path = "あいう";
            assertEquals("%E3%81%82%E3%81%84%E3%81%86", systemHelper.encodeUrlFilter(path));
    
            path = "[]^$.*+?,{}|%\\";
            assertEquals(path, systemHelper.encodeUrlFilter(path));
    
            systemHelper.filterPathEncoding = null;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.9K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                            urlValue = line;
                            urlEncodeDisabled.set(false);
                        } else {
                            urlValue = systemHelper.encodeUrlFilter(line);
                        }
                        crawler.addIncludeFilter(urlValue);
                        if (logger.isInfoEnabled()) {
                            logger.info("Included URL: {}", urlValue);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java

                        final String v = systemHelper.normalizeConfigPath(u);
                        if (StringUtil.isNotBlank(v)) {
                            pathPatterList.add(Pattern.compile(systemHelper.encodeUrlFilter(v)));
                        }
                    }
                    includedDocPathPatterns = pathPatterList.toArray(new Pattern[pathPatterList.size()]);
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Apr 03 09:24:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Encodes a URL path for filtering.
         *
         * @param path The path to encode.
         * @return The encoded path.
         */
        public String encodeUrlFilter(final String path) {
            if (filterPathEncoding == null || path == null) {
                return path;
            }
    
            try {
                final StringBuilder buf = new StringBuilder(path.length() + 100);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top