- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 35 for blockIp (0.04 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
src/main/webapp/WEB-INF/orig/view/searchResults.jsp
<div class="d-sm-none"></div> <span class="d-none d-sm-inline-block"> </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"> </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) -
src/main/webapp/WEB-INF/view/searchResults.jsp
<div class="d-sm-none"></div> <span class="d-none d-sm-inline-block"> </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"> </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) -
src/main/java/org/codelibs/fess/query/QueryCommand.java
return QueryBuilders.matchPhraseQuery(f, text); } final UnicodeBlock block = UnicodeBlock.of(text.codePointAt(0)); if (block == UnicodeBlock.CJK_UNIFIED_IDEOGRAPHS // || block == UnicodeBlock.HIRAGANA // || block == UnicodeBlock.KATAKANA // || block == UnicodeBlock.HANGUL_SYLLABLES // ) { return QueryBuilders.prefixQuery(f, text);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Nov 23 11:39:05 GMT 2025 - 11.6K bytes - Click Count (0) -
src/main/webapp/WEB-INF/orig/view/search.jsp
<la:link href="/search?q=${f:u(item)}${fe:facetQuery()}${fe:geoQuery()}">${f:h(item)}</la:link> </c:if> <c:if test="${3 <= s.index}"> <la:link styleClass="d-none d-sm-inline-block" href="/search?q=${f:u(item)}${fe:facetQuery()}${fe:geoQuery()}">${f:h(item)}</la:link> </c:if> </c:forEach> </p> </div> </div> </c:if>Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Feb 23 08:03:44 GMT 2026 - 6.7K bytes - Click Count (0)