Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for disallows (0.03 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            directive.addDisallow("/admin/");
            directive.addDisallow("/private/");
    
            String[] disallows = directive.getDisallows();
            assertEquals(2, disallows.length);
            assertEquals("/admin/", disallows[0]);
            assertEquals("/private/", disallows[1]);
        }
    
        public void test_directiveAddDisallowNoDuplicates() {
            // Test that addDisallow doesn't add duplicates
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

                assertTrue(result);
                verify(mockConfig, times(2)).isAllowCompound("TestServerMessageBlock2Request");
            }
    
            @Test
            @DisplayName("allowChain should return false when config disallows compound")
            void testAllowChainDisallowed() {
                TestServerMessageBlock2Request nextRequest = new TestServerMessageBlock2Request(mockConfig);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                if (!exists) {
                    allowedPaths.add(pattern);
                }
            }
    
            /**
             * Adds a disallowed path pattern to this directive.
             * Supports wildcards (*) and end-of-path ($) according to RFC 9309.
             * @param path the path pattern to disallow
             */
            public void addDisallow(final String path) {
                final PathPattern pattern = new PathPattern(path);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/store/public/sale", "PriorityBot")); // Most specific disallow
            assertFalse(robotsTxt.allows("/store/public/sale/item", "PriorityBot"));
    
            // Test SameLengthBot - Allow wins when same length as Disallow
            // Disallow: /page, Allow: /page
            assertTrue(robotsTxt.allows("/page", "SameLengthBot")); // Allow takes precedence
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/config/BaseConfiguration.java

        }
    
        /**
         * Initializes the disallowed compound operations based on the provided property string.
         *
         * @param prop comma-separated list of operations to disallow in compound requests
         */
        protected void initDisallowCompound(final String prop) {
            if (prop == null) {
                return;
            }
            final Set<String> disallow = new HashSet<>();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

     * <li>Disallow and Allow directives with pattern matching</li>
     * <li>Wildcard (*) in paths - matches any sequence of characters</li>
     * <li>End-of-path ($) matching - matches the end of URL path</li>
     * <li>Crawl-delay directive</li>
     * <li>Sitemap directive</li>
     * <li>Comment support (#)</li>
     * <li>Priority-based matching (longest match wins, Allow beats Disallow at equal length)</li>
     * </ul>
     *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/ACETest.java

            @DisplayName("Should define isAllow method returning boolean")
            void shouldDefineIsAllow() {
                ACE allowAce = mock(ACE.class);
                ACE denyAce = mock(ACE.class);
                when(allowAce.isAllow()).thenReturn(true);
                when(denyAce.isAllow()).thenReturn(false);
    
                assertTrue(allowAce.isAllow());
                assertFalse(denyAce.isAllow());
                verify(allowAce).isAllow();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[19] = 0x00;
    
            // Test decode
            int size = ace.decode(testBuffer, 0, testBuffer.length);
    
            // Verify results
            assertEquals(32, size);
            assertTrue(ace.isAllow());
            assertEquals(0x03, ace.getFlags());
            assertEquals(0x001200A9, ace.getAccessMask());
            assertNotNull(ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with deny ACE")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/config/BaseConfigurationTest.java

            // Check protocol versions
            assertNotNull(testConfig.getMinimumVersion());
            assertNotNull(testConfig.getMaximumVersion());
    
            // Check disallow compound
            assertNotNull(testConfig.disallowCompound);
            assertTrue(testConfig.disallowCompound.contains("Smb2SessionSetupRequest"));
            assertTrue(testConfig.disallowCompound.contains("Smb2TreeConnectRequest"));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    http://ExAmPlE.CoM http://other.com/ s:http p:/ h:example.com
    
    # Spaces should fail
    http://example\sexample.com
    
    # This should fail
    http://Goo%20\sgoo%7C|.com
    
    # U+3000 is mapped to U+0020 (space) which is disallowed
    http://GOO\u00a0\u3000goo.com
    
    # Other types of space (no-break, zero-width, zero-width-no-break) are
    # name-prepped away to nothing.
    # U+200B, U+2060, and U+FEFF, are ignored
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top