Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Referer (0.04 sec)

  1. src/main/java/org/codelibs/fess/api/json/SearchApiManager.java

            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            if (!fessConfig.isAcceptedSearchReferer(request.getHeader("referer"))) {
                writeJsonResponse(HttpServletResponse.SC_BAD_REQUEST, escapeJsonKeyValue(MESSAGE_FIELD, "Referer is invalid."));
                return;
            }
    
            if (!fessConfig.isApiSearchScroll()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            }
            if (patterns.length == 0) {
                return true;
            }
    
            if (referer == null) {
                return false;
            }
            return Arrays.stream(patterns).anyMatch(p -> p.matcher(referer).matches());
        }
    
        String getQueryHighlightContentDescriptionFields();
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
Back to top