[URL] Split forbidden host/domain code points, and add all C0 controls and add U+007F to the latter
Categories
(Core :: Networking, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox98 | --- | fixed |
People
(Reporter: razielim, Assigned: valentin)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-triaged])
Attachments
(1 file)
Steps to reproduce:
Spec update: Domains may not contain C0 controls or U+007F DELETE. Opaque hostnames remain changed.
See: https://github.com/whatwg/url/pull/685
Firefox is already mostly compliant with this change (it doesn't appear to support hostnames for non-special URLs yet, so at least that part of the change doesn't lead to a new regression). However, it currently blocks %7F in domains but allows raw U+007F. It should disallow both forms.
See the regression at: https://wpt.fyi/results/url/url-constructor.any.html?run_id=5754969316655104&run_id=5720618772201472
![]() |
||
Updated•3 years ago
|
Apologies for the typo - "Opaque hostnames remain changed." should be "Opaque hostnames remain unchanged." 🤦♂️
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Hi Valentin,
What do you think about the priority of this one?
Should we create a meta bug for this kind of issue?
Thanks.
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Tom, thanks for the meta bug.
Assignee | ||
Comment 4•3 years ago
|
||
Thanks!
Assignee | ||
Comment 5•3 years ago
|
||
Tests will be merged from upstream WPT:
https://github.com/web-platform-tests/wpt/pull/32524
Updated•3 years ago
|
Comment 7•3 years ago
|
||
bugherder |
Description
•