Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for replaceUrls (0.07 sec)

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

            assertEquals("\"http://localhost/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"file:///home/user/\"";
            assertEquals("\"http://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "\"aaafile:///home/user/\"";
            assertEquals("\"aaahttp://localhost/user/\"", pathMappingHelper.replaceUrls(text));
    
            text = "aaa\"file:///home/user/\"bbb";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

        }
    
        public String replaceUrl(final String sessionId, final String url) { // for crawling
            final List<PathMapping> pathMappingList = getPathMappingList(sessionId);
            if (pathMappingList == null) {
                return url;
            }
            return replaceUrl(pathMappingList, url);
        }
    
        public String replaceUrls(final String text) {
            if (cachedPathMappingList == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/go/GoAction.java

                        clickLog.setOrder(form.order);
                    }
                    searchLogHelper.addClickLog(clickLog);
                }
            }
    
            final String targetUrl = pathMappingHelper.replaceUrl(url);
    
            String hash;
            if (StringUtil.isNotBlank(form.hash)) {
                final String value = URLUtil.decode(form.hash, Constants.UTF_8);
                if (targetUrl.indexOf('#') == -1) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top