Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for blockIp (0.1 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/main/webapp/css/admin/style.css

    }
    
    .login-box {
    	height: 500px;
    }
    
    .empty-list-placeholder {
    	text-align: center;
    	padding: 2em 1em;
    }
    
    .empty-list-placeholder .fa {
    	font-size: 2.5em;
    	margin-bottom: 0.5em;
    	display: block;
    }
    
    .empty-list-placeholder p {
    	color: #6c757d;
    	margin-top: 0.5em;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  9. src/main/webapp/WEB-INF/orig/view/login/index.jsp

    								<i class="fa fa-lock fa-fw" aria-hidden="true"></i>
    							</span>
    						</div>
    					</div>
    					<div class="text-center">
    						<button type="submit" name="login"
    							class="btn btn-primary btn-block"
    							value="<la:message key="labels.login"/>">
    							<i class="fa fa-sign-in" aria-hidden="true"></i>
    							<la:message key="labels.login" />
    						</button>
    					</div>
    				</la:form>
    			</div>
    		</div>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            assertEquals(this.getClass().getName(), stackTrace[0].getClassName());
        }
    
        @Test
        public void test_multipleCatches() {
            // Test with multiple catch blocks
            boolean caughtSpecific = false;
            boolean caughtRuntime = false;
    
            try {
                throw new DictionaryExpiredException();
            } catch (DictionaryExpiredException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
Back to Top