Closed Bug 1903403 Opened 1 year ago Closed 1 year ago

Do not reject cookies containing %x9

Categories

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

defect

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: edgul, Assigned: baku)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

As seen in the attributes/attributes-ctl.sub.html WPT we are failing the test Cookie with %x9 after Secure attribute is handled correctly. Let's fix this.

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

Oops, %x9 is HTAB and the spec doesn't require rejection. Maybe we just want to update the WPTs here?

Flags: needinfo?(amarchesini)
Status: NEW → RESOLVED
Closed: 1 year ago
Flags: needinfo?(amarchesini)
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

Actually, our implementation is still broken because of this: https://searchfox.org/mozilla-central/source/netwerk/cookie/CookieCommons.cpp#210

Assignee: nobody → amarchesini
Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/249cf582a8cd Do not reject cookies containing %x9, r=cookie-reviewers,valentin
Status: REOPENED → RESOLVED
Closed: 1 year ago1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
Summary: Reject cookies containing %x9 → Do not reject cookies containing %x9
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: