Closed Bug 1848903 Opened 1 year ago Closed 1 year ago

Investigate whether we can follow the current spec regarding base64 data URLs

Categories

(Core :: Networking, defect, P2)

defect

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: twisniewski, Assigned: twisniewski)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

There was a long spec discussion which included whether or not ;base64 should be permissible only at the end of a Data URI's parameter list, and that's where the spec stands today.

Firefox made the conscious decision over a decade ago to allow it before that position in bug 781693 for webcompat reasons, but Safari has been shipping with the restriction in place for a while now, so I think we should try to follow the current spec as well and see what happens (with a pref to disable just in case, of course).

Blocks: url
Severity: -- → S3
Priority: -- → P2
Whiteboard: [necko-triaged]
Assignee: nobody → twisniewski
Status: NEW → ASSIGNED
Attachment #9349318 - Attachment description: Bug 1848903 - only allow ;base64 right before the comma in a data URL; r?kershaw → Bug 1848903 - only allow ;base64 right before the comma in a data URL; r?kershaw,valentin
Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/deca2c956e89 only allow ;base64 right before the comma in a data URL; r=kershaw,necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: