Bug 267916
| Summary: | Avoid conversion to UTF-8 in ContentSecurityPolicy::allowInlineStyle when no algorithm is specified | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ryosuke Niwa
ContentSecurityPolicy::allowInlineStyle is currently converting every UTF-16 string into UTF-8 even when there is no CSP policy in place.
i.e. even when both m_policies and m_hashAlgorithmsForInlineScripts are both empty.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/23099
EWS
Committed 273375@main (4bc7c5b5bdd3): <https://commits.webkit.org/273375@main>
Reviewed commits have been landed. Closing PR #23099 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/121467313>