[Issue] Allow to load base64 encoded images and fonts #31170
Labels
Component: Csp
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
This issue is automatically created based on existing pull request: #31162: Allow to load base64 encoded images and fonts
Description
Magento 2.4-develop
Current Content Security Policy setup doesn't allow to load images and fonts via
data:
scheme which is quite a popular method to load local resources (base64 encoded images). Additionally, it's used internally by the browser cache (Chrome) when you refresh the page.Manual testing scenarios (*)
5. Apply the patch, and try again. No errors should appear in the log.
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: