mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Add more robust hostsfile parsing
Adds hostsfile parsing support for: * Tabs * Comments (line and end of line) * IPv4 address validation * Basic IPv6 address validation * End of line whitespaces * Host name alias (multiple host names per address) Fixes #5063
This commit is contained in:
parent
7fc37dfaa7
commit
0faa55d2ce
4 changed files with 152 additions and 14 deletions
|
@ -29,3 +29,5 @@ time = "0.1.17"
|
|||
openssl="0.3.1"
|
||||
rustc-serialize = "0.2"
|
||||
cookie="*"
|
||||
regex = "*"
|
||||
regex_macros = "*"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue