-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Forbid <, >, and ^ in hosts #459
Conversation
Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks great. Hopefully @domenic is still up for writing tests. If not I might be able to get to it.
Sadly I'm not able to spare the creative energy for writing tests, but I can do the usual jsdom/whatwg-url testing and reviewing. In advance I will report that there is only one failure in the existing test suite, which is parsing |
See whatwg/url#459 for context
Added tests: web-platform-tests/wpt#23572 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and web platform tests pass. Be sure to update the commit message to account for ^ too when merging.
Thanks everyone! I filed https://bugs.webkit.org/show_bug.cgi?id=211901. Firefox and Chrome already have a more general bug on implementing non-special URLs properly. |
As per the recent changes in whatwg/url spec. lt and gt are also added in the list of forbidden hostCodePoint list. Ref: whatwg/url#459 Ref: nodejs#33315
As per the recent changes in whatwg/url spec. lt and gt are also added in the list of forbidden hostCodePoint list. PR-URL: nodejs#33328 Refs: whatwg/url#459 Refs: nodejs#33315 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
…only Automatic update from web-platform-tests URL: forbid <, >, and ^ in hosts Follows whatwg/url#459. -- wpt-commits: 9ffe8f26432649d02eb81add2816dd5394f57a8c wpt-pr: 23572
…only Automatic update from web-platform-tests URL: forbid <, >, and ^ in hosts Follows whatwg/url#459. -- wpt-commits: 9ffe8f26432649d02eb81add2816dd5394f57a8c wpt-pr: 23572
Per the change in whatwg/url#459.
This PR add
<
and>
toHost miscellaneous
, Close #458Preview | Diff