-
-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Infinite Trailing dots in IPv4 addrs at the end
Even though WHATWG only mentions the last empty octet to be a warning (https://url.spec.whatwg.org/#ipv4-empty-part), but I don't think something like "http://127.0.0.1.../" should be marked as Too Many Parts (https://url.spec.whatwg.org/#ipv4-too-many-parts). Browsers' URL Parsers that I tested do ignore the last dot characters as well. I'm not sure if this needs to be merged or not, but if I were writing WHATWG I either wouldn't have let the last dot be valid at all, or multiple dots would be okay too; I also wouldn't allow hex/octal IPv4 addresses either, so what do I know!! Thanks.
- Loading branch information
1 parent
d6bca38
commit aae442e
Showing
4 changed files
with
70 additions
and
7 deletions.
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
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