Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for encodeURL (0.34 sec)

  1. src/test/java/org/codelibs/fess/crawler/transformer/FessFileTransformerTest.java

            url = "file:/" + encodeUrl("ホーム") + "/user";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file:/c:/" + encodeUrl("ホーム") + "/user";
            exp = "localhost";
            assertEquals(exp, transformer.getHostOnFile(url));
    
            url = "file:////" + encodeUrl("サーバー") + "/home/user";
            exp = "サーバー";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

            assertEquals(result, htmlTransformer.encodeUrl(url, "UTF-8"));
    
            url = ".-*_:/+%=&?#[]@~!$'(),;";
            result = ".-*_:/+%=&?#[]@~!$'(),;";
            assertEquals(result, htmlTransformer.encodeUrl(url, "UTF-8"));
        }
    
        public void test_isSupportedCharset_valid() {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                }
            } else {
                hash = StringUtil.EMPTY;
            }
    
            if (!isFileSystemPath(targetUrl)) {
                return HtmlResponse.fromRedirectPathAsIs(DocumentUtil.encodeUrl(targetUrl + hash));
            }
            if (!fessConfig.isSearchFileProxyEnabled()) {
                return HtmlResponse.fromRedirectPathAsIs(targetUrl + hash);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/DocumentUtil.java

                    return (T) value;
                }
                return (T) Boolean.valueOf(value.toString());
            }
            return null;
        }
    
        public static String encodeUrl(final String url) {
            final String enc = LaRequestUtil.getOptionalRequest().filter(req -> req.getCharacterEncoding() != null)
                    .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

            if (FUNCTION_ENCODEURL_MATCHER.equals(replacement)) {
                return (u, m) -> DocumentUtil.encodeUrl(u);
            }
            if (!replacement.startsWith(GROOVY_MATCHER)) {
                return (u, m) -> m.replaceAll(replacement);
            }
            final String template = replacement.substring(GROOVY_MATCHER.length());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                final URL childUrl =
                        childUrlValue.startsWith("?") ? new URL(url.toExternalForm() + childUrlValue) : new URL(url, childUrlValue);
                final String u = encodeUrl(normalizeUrl(childUrl.toExternalForm()), encoding);
                if (logger.isDebugEnabled()) {
                    logger.debug("{} -> {}", attrValue, u);
                }
                if (StringUtil.isNotBlank(u)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. kotlin-js-store/yarn.lock

      integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==
    
    encodeurl@~1.0.2:
      version "1.0.2"
      resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
      integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                    }
                } catch (final ExecutionException e) {
                    logger.debug("Failed to access {}", input, e);
                }
            }
            return LaResponseUtil.getResponse().encodeURL(sb.toString());
        }
    
        public static String sdh(final String input) {
            if (StringUtil.isBlank(input)) {
                return input;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

                u = encodeUrl(normalizeUrl(childUrl.toExternalForm()), encoding);
            } catch (final MalformedURLException e) {
                final int pos = urlValue.indexOf(':');
                if (pos > 0 && pos < 10) {
                    u = encodeUrl(normalizeUrl(urlValue), encoding);
                }
            }
    
            if (u == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 42.9K bytes
    - Viewed (0)
Back to top