-
Notifications
You must be signed in to change notification settings - Fork 3
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 <[email protected]> Reviewed-by: Xinghui Lu <[email protected]> Reviewed-by: Chris Fredrickson <[email protected]> Reviewed-by: Mike West <[email protected]> Commit-Queue: Matt Menke <[email protected]> Cr-Commit-Position: refs/heads/main@{#915327} NOKEYCHECK=True GitOrigin-RevId: f21b724918b277919a898464926568d79d595016
- Loading branch information
1 parent
956e7e3
commit 71008d0
Showing
15 changed files
with
753 additions
and
1,077 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
Oops, something went wrong.