]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Correct various errors:
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 28 Feb 2002 15:24:47 +0000 (15:24 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 28 Feb 2002 15:24:47 +0000 (15:24 +0000)
commit1c63f6e48913f71968509ccf5708034f4ff09cf5
tree840879ee25cf3490c5087285b081f117e8e88072
parent5e9c80d906446f3fc53c4da36e88d937d5c1593d
Correct various errors:
- Use substring search, not re search for user-agent and paths.
- Consider * entry last. Unquote, then requote URLs.
- Treat empty Disallow as "allow everything".
Add test cases. Fixes #523041
Lib/robotparser.py
Lib/test/test_robotparser.py [new file with mode: 0644]