Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for shouldSkipUrlDecode (0.16 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

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

            assertFalse(protocolHelper.shouldSkipUrlDecode("http://example.com"));
            assertFalse(protocolHelper.shouldSkipUrlDecode("https://example.com"));
            assertFalse(protocolHelper.shouldSkipUrlDecode("storage://container/blob"));
            assertFalse(protocolHelper.shouldSkipUrlDecode(""));
            assertFalse(protocolHelper.shouldSkipUrlDecode("not-a-url"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 35.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java

                }
    
                idx = u.lastIndexOf('#');
                if (idx >= 0) {
                    u = u.substring(0, idx);
                }
            }
            if (!ComponentUtil.getProtocolHelper().shouldSkipUrlDecode(u)) {
                u = decodeUrlAsName(u, u.startsWith("file:"));
            }
            idx = u.lastIndexOf('/');
            if (idx >= 0) {
                if (u.length() > idx + 1) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

         *
         * @param url the URL to check
         * @return true if URL decoding should be skipped for this protocol
         */
        public boolean shouldSkipUrlDecode(final String url) {
            return url.startsWith("smb:") || url.startsWith("smb1:") || url.startsWith("ftp:") || url.startsWith("s3:")
                    || url.startsWith("gcs:");
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
Back to Top