Closed Bug 1812060 Opened 1 year ago Closed 1 year ago

Strip tab and newline from Location/URL/<a>/<area>'s protocol setter

Categories

(Core :: DOM: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: annevk, Assigned: canadahonk)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Blocks: url
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]

I believe carriage returns (\r or \0x0D) should be removed as well, looking at WPT tests: https://github.com/web-platform-tests/wpt/blob/master/url/resources/setters_tests.json#L276

Strip tabs, new lines, and carriage returns from the input given to
protocol setters for Location, URL, and Link.

Reference: https://github.com/whatwg/url/issues/609

Assignee: nobody → oj
Status: NEW → ASSIGNED
Attachment #9318834 - Attachment description: Bug 1812060 - Strip certain whitespace from protocol setters → WIP: Bug 1812060 - Strip certain whitespace from protocol setters
Attachment #9318834 - Attachment description: WIP: Bug 1812060 - Strip certain whitespace from protocol setters → Bug 1812060 - Strip certain whitespace from protocol setters
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/3b9cc90f1880
Strip certain whitespace from protocol setters r=emilio,necko-reviewers,valentin
Regressions: 1818375
Flags: needinfo?(valentin.gosu)
Flags: needinfo?(valentin.gosu)
Flags: needinfo?(oj)
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/58a9faf47921
Strip certain whitespace from protocol setters r=emilio,necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: