Closed Bug 1752320 Opened 3 years ago Closed 3 years ago

[URL] Split forbidden host/domain code points, and add all C0 controls and add U+007F to the latter

Categories

(Core :: Networking, task, P3)

task

Tracking

()

RESOLVED FIXED
98 Branch
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

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Apologies for the typo - "Opaque hostnames remain changed." should be "Opaque hostnames remain unchanged." 🤦‍♂️

Component: DOM: Core & HTML → DOM: Networking

Hi Valentin,

What do you think about the priority of this one?
Should we create a meta bug for this kind of issue?

Thanks.

Flags: needinfo?(valentin.gosu)
Component: DOM: Networking → Networking
Blocks: url

Tom, thanks for the meta bug.

Severity: -- → N/A
Type: defect → task
Flags: needinfo?(valentin.gosu)
Priority: -- → P3
Whiteboard: [necko-triaged]

Thanks!

Assignee: nobody → valentin.gosu
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attachment #9262078 - Attachment description: Bug 1752320 - U+007F to the invalid host characters list r=#necko → Bug 1752320 - Add U+007F to the invalid host characters list r=#necko
Pushed by valentin.gosu@gmail.com: https://hg.mozilla.org/integration/autoland/rev/656e7e2fe5c2 Add U+007F to the invalid host characters list r=necko-reviewers,kershaw
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: