Closed Bug 556625 Opened 10 years ago Closed 10 years ago

CSP - nsDocument::RetrieveRelevantHeaders looks for the wrong header

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: bsterne, Assigned: bsterne)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

RetrieveRelevantHeaders looks for x-content-security-policy-read-only, rather than report-only per the spec.

This is the only place the typo exists, so it's a one-line change:
brandon@dexter:/build/m-c/mozilla$ grep -rn x-content-security-policy-read-only *
content/base/src/nsDocument.cpp:6656:      "x-content-security-policy-read-only",
Attached patch fixSplinter Review
Attachment #436572 - Flags: review?(dveditz)
Comment on attachment 436572 [details] [diff] [review]
fix

r=dveditz
Attachment #436572 - Flags: review?(dveditz) → review+
http://hg.mozilla.org/mozilla-central/rev/b3fecde64016
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.