Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 58 for blockIp (0.06 seconds)

  1. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

                    logger.debug("IP in static block list: ip={}", ip);
                }
                return true;
            }
    
            // Check dynamically blocked IPs (Cache handles expiration automatically)
            final Boolean blocked = blockedIps.getIfPresent(ip);
            if (blocked != null) {
                if (logger.isDebugEnabled()) {
                    logger.debug("IP dynamically blocked: ip={}", ip);
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

        @Test
        public void test_blockIp() {
            rateLimitHelper.blockIp("192.168.1.100", 1000L);
            assertEquals(1, rateLimitHelper.getBlockedIpCount());
    
            rateLimitHelper.unblockIp("192.168.1.100");
            assertEquals(0, rateLimitHelper.getBlockedIpCount());
        }
    
        @Test
        public void test_cleanup() {
            rateLimitHelper.blockIp("192.168.1.100", 1L);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/filter/RateLimitFilter.java

                logger.debug("Rate limit check: clientIp={}, path={}", clientIp, httpRequest.getRequestURI());
            }
    
            // Check if IP is blocked
            if (rateLimitHelper.isBlocked(clientIp)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Request blocked: clientIp={}", clientIp);
                }
                sendBlockedResponse(httpResponse);
                return;
            }
    
            // Check rate limit
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/helper/MarkdownRendererTest.java

            // javascript: protocol should be blocked
            assertFalse(result.contains("javascript:"));
        }
    
        @Test
        public void test_render_xss_dataProtocol() {
            String malicious = "[Click me](data:text/html,<script>alert('XSS')</script>)";
            String result = markdownRenderer.render(malicious);
            // data: protocol should be blocked
            assertFalse(result.contains("data:text/html"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  5. src/main/webapp/js/marked.min.js

    izer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:m,block:B.normal,inline:z.normal};this.options.pedantic?(t.block=B.pedantic,t.inline=z.pedantic):this.options.gfm&&(t.block=B.gfm,this.options.breaks?t.inline=z.breaks:t.inline=z.gfm),this.tokenizer.rules=t}static get rules(){return{block:B,inline:z}}static lex(e,t){return new l(t).lex(e)}static lexInline(e,t){return new l(t).inlineTokens(e)}lex(e){e=e.replace(m.carriageReturn,`...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 41.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/web/admin/design/AdminDesignActionTest.java

            assertFalse("Path traversal should be blocked", result);
        }
    
        @Test
        public void test_isValidVirtualHostPath_pathTraversal_encoded() throws Exception {
            setupVirtualHostHelper("/site1", "/site2");
    
            Boolean result = invokeIsValidVirtualHostPath("/site1/../../../etc");
            assertFalse("Encoded path traversal should be blocked", result);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  7. src/main/webapp/css/admin/plugins/timepicker/bootstrap-timepicker.min.css

    .input-group-addon{cursor:pointer}.bootstrap-timepicker .input-group-addon i{display:inline-block;width:16px;height:16px}.bootstrap-timepicker-widget.dropdown-menu{padding:4px}.bootstrap-timepicker-widget.dropdown-menu.open{display:inline-block}.bootstrap-timepicker-widget.dropdown-menu:before{border-bottom:7px solid rgba(0,0,0,0.2);border-left:7px solid transparent;border-right:7px solid transparent;content:"";display:inline-block;position:absolute}.bootstrap-timepicker-widget.dropdown-menu:after{border-bottom:6px...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Feb 13 04:21:06 GMT 2020
    - 3K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/orig/view/searchResults.jsp

    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_result_size"
    							arg0="${fe:formatFileSize(doc.content_length)}" />
    					</c:if>
    					<c:if test="${searchLogSupport && doc.click_count!=null && doc.click_count>0}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_click_views"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (1)
  9. src/main/webapp/css/admin/plugins/daterangepicker/daterangepicker.css

      float: none;
    }
    
    .daterangepicker.single .drp-selected {
      display: none;
    }
    
    .daterangepicker.show-calendar .drp-calendar {
      display: block;
    }
    
    .daterangepicker.show-calendar .drp-buttons {
      display: block;
    }
    
    .daterangepicker.auto-apply .drp-buttons {
      display: none;
    }
    
    .daterangepicker .drp-calendar {
      display: none;
      max-width: 270px;
    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Oct 26 01:49:09 GMT 2024
    - 7.5K bytes
    - Click Count (0)
  10. src/main/webapp/WEB-INF/view/searchResults.jsp

    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_result_size"
    							arg0="${fe:formatFileSize(doc.content_length)}" />
    					</c:if>
    					<c:if test="${searchLogSupport && doc.click_count!=null && doc.click_count>0}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    						<la:message key="labels.search_click_views"
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 12.2K bytes
    - Click Count (0)
Back to Top