Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 63 for blockIp (0.03 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. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java

                }
            }
    
            // If file ends inside an example, still check that block
            if (inExample) {
                flagIfReversed(file, errors, currentSnippets);
            }
        }
    
        /**
         * Only flags when the first two detectable snippets in the block are GROOVY then KOTLIN.
         * Ignores blocks with fewer than two detectable snippets.
         */
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Aug 29 10:12:17 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. 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)
  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/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)
  8. KEYS.md

    To do this, run the following command:
    
    ```bash
    gpg --sign-key 1BD97A6A154E7810EE0BC832E2F38302C8075E3D
    ```
    
    ## Public Key Block in ascii-armored format
    
    ```
    -----BEGIN PGP PUBLIC KEY BLOCK-----
    
    mQINBGOtCzoBEAC7hGOPLFnfvQKzCZpJb3QYq8X9OiUL4tVa5mG0lDTeBBiuQCDy
    Iyhpo8IypllGG6Wxj6ZJbhuHXcnXSu/atmtrnnjARMvDnQ20jX77B+g39ZYuqxgw
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Dec 04 14:29:13 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            runJavaBinaryCompatibilityCheck(v1, v2) {
                assertNotBinaryCompatible()
                block()
            }
    
        internal
        fun checkBinaryCompatible(v1: File.() -> Unit = {}, v2: File.() -> Unit = {}, block: CheckResult.() -> Unit = {}): CheckResult =
            runBinaryCompatibilityCheck(v1, v2) {
                assertBinaryCompatible()
                block()
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  10. 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)
Back to Top