Closed
Description
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 (*)
- Add Base64 image or font to Home page
- Open Luma homepage and open browser console.
- Refresh the page to trigger resource loading from the browser cache.
- Inspect errors in the console:
Contribution checklist (*)
- Pull request has a meaningful description of its purpose
- All commits are accompanied by meaningful commit messages
- All new or changed code is covered with unit/integration tests (if applicable)
- All automated tests passed successfully (all builds are green)
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedA defect with this priority could have functionality issues which are not to expectations.The issue has been reproduced on latest 2.4-develop branchAffects non-critical data or functionality and does not force users to employ a workaround.
Type
Projects
Status
Done