Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CommentBot (4.42 sec)

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

            assertEquals(2, robotsTxt.getCrawlDelay("MixedCaseBot"));
    
            // Test CommentBot - inline comments should be stripped
            assertFalse(robotsTxt.allows("/path1/", "CommentBot"));
            assertTrue(robotsTxt.allows("/path2/", "CommentBot"));
    
            // Test EmptyLineBot - empty lines should not cause issues
            assertFalse(robotsTxt.allows("/test/", "EmptyLineBot"));
    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

    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
    # Full line comment
    Allow: /path2/
    
    # Case 7: Empty lines and whitespace-only lines
    User-agent: EmptyLineBot
    
    
    Disallow: /test/
    
    Allow: /public/
    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