forked from chromium/chromium
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reject non-IPv4 hostnames ending in numbers.
The URL spec has been updated to parse any hostname ending with a numeric component as IPv4 unconditionally, with no fallback to considering it a domain name if it fails to parse as an IPv4 address. See whatwg/url#619. This CL updates the url/ parser accordingly. Bug: 1237032 Change-Id: Ieb0ee3073f65931f97a690b0d852ab9761c328ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3111118 Reviewed-by: Ryan Sleevi <rsleevi@chromium.org> Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Reviewed-by: Chris Fredrickson <cfredric@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Commit-Queue: Matt Menke <mmenke@chromium.org> Cr-Commit-Position: refs/heads/main@{#915327}
- Loading branch information
Matt Menke
authored and
Chromium LUCI CQ
committed
Aug 25, 2021
1 parent
0cdb72f
commit f21b724
Showing
22 changed files
with
908 additions
and
1,297 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
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
Oops, something went wrong.