Closed Bug 1505752 Opened 2 years ago Closed 2 years ago

fix HTTP trimming for Timing-Allow-Origin

Categories

(Core :: Networking: HTTP, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: bagder, Assigned: bagder)

References

Details

(Whiteboard: [necko-triaged] )

Attachments

(1 file)

Similar to bug 1503517, the Timing-Allow-Origin parser uses the wrong method (StripWhitespace) to strip off whitespace and therefore removes too much.
StripWhitespace() is not suitable for HTTP whitespace trimming.
Assignee: nobody → daniel
Pushed by daniel@haxx.se:
https://hg.mozilla.org/integration/autoland/rev/c35969704307
fix whitespace trim of Timing-Allow-Origin header value r=dragana
https://hg.mozilla.org/mozilla-central/rev/c35969704307
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.