Bug 249213

Summary: Images are not loaded in element application
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebCore Misc.Assignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Garcia Campos 2022-12-13 02:20:13 PST
Element application uses the fetch api to download images and convert them to a blob that is then requested. The problem is that the blob request is failing due to invalid HTTP header in response. The invalid header is Content-Security-Policy that is generated by the blob loader using the security context policy. The document policy comes from http-equiv meta and contains newlines, which are allowed there, but invalid for an HTTP header value.
Comment 1 Carlos Garcia Campos 2022-12-13 02:26:00 PST
Pull request: https://github.com/WebKit/WebKit/pull/7540
Comment 2 Radar WebKit Bug Importer 2022-12-20 02:21:16 PST
<rdar://problem/103550552>
Comment 3 EWS 2022-12-20 05:21:00 PST
Committed 258130@main (d89d47f7fd45): <https://commits.webkit.org/258130@main>

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