Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for replaceFirst (0.1 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            if (idx >= 0) {
                url = url.replaceFirst(";jsessionid=[a-zA-Z0-9\\.]*", "");
            }
    
            if (url.indexOf(' ') >= 0) {
                url = url.replace(" ", "%20");
            }
    
            String oldUrl = null;
            while (url.indexOf("/../") >= 0 && !url.equals(oldUrl)) {
                oldUrl = url;
                url = url.replaceFirst("/[^/]+/\\.\\./", "/");
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top