forked from crawler-commons/crawler-commons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Robots.txt] Handle allow/disallow directives containing unescaped
Unicode characters, fixes crawler-commons#389 - use UTF-8 as default input encoding of robots.txt files - add unit test - test matching of Unicode paths in allow/disallow directives - test for proper matching of ASCII paths if encoding is not UTF-8 (and no byte order mark present)
- Loading branch information
1 parent
d8a6126
commit 2c2cb3b
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters