Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MixedCaseBot (0.26 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertTrue(robotsTxt.allows("/also-spaced/", "ExtraSpaceBot"));
    
            // Test MixedCaseBot - mixed case directives should work
            assertFalse(robotsTxt.allows("/test1/", "MixedCaseBot"));
            assertTrue(robotsTxt.allows("/test2/", "MixedCaseBot"));
            assertEquals(2, robotsTxt.getCrawlDelay("MixedCaseBot"));
    
            // Test CommentBot - inline comments should be stripped
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_malformed.txt

    Allow: /path:with:colons
    
    # Case 4: Extra whitespace
    User-agent:    ExtraSpaceBot
    Disallow:     /spaced/
       Allow:   /also-spaced/
    
    # Case 5: Mixed case directives (should still work)
    UsEr-AgEnT: MixedCaseBot
    DiSaLlOw: /test1/
    AlLoW: /test2/
    CrAwL-dElAy: 2
    SiTeMaP: http://example.com/sitemap.xml
    
    # Case 6: Comments in various positions
    User-agent: CommentBot # inline comment
    Disallow: /path1/ # another comment
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 2.6K bytes
    - Viewed (0)
Back to top