Bug 249596

Summary: Store CSP delivered via meta tag as a valid HTTP header
Product: WebKit Reporter: Ryan Reno <rreno>
Component: Page LoadingAssignee: Ryan Reno <rreno>
Status: RESOLVED FIXED    
Severity: Normal CC: beidson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ryan Reno 2022-12-19 10:51:30 PST
A meta delivered CSP could contain invalid HTTP header value characters (for example, newlines). We should strip those characters out and store the CSP as a valid HTTP header for later inheritance.
Comment 1 Ryan Reno 2022-12-19 10:51:47 PST
<rdar://problem/103170891>
Comment 2 Ryan Reno 2022-12-19 11:37:06 PST
Pull request: https://github.com/WebKit/WebKit/pull/7860
Comment 3 EWS 2022-12-19 17:06:23 PST
Committed 258110@main (0445ac553799): <https://commits.webkit.org/258110@main>

Reviewed commits have been landed. Closing PR #7860 and removing active labels.