Skip to content
Snippets Groups Projects
Commit 435c66b1 authored by Oliver Hader's avatar Oliver Hader Committed by Oliver Hader
Browse files

[BUGFIX] Adjust Content-Security-Policy reports check for SVG files

Issue #93884 provided and adjusted CSP header for SVG inline styles:
| default-src 'self'; script-src 'none';
| style-src 'unsafe-inline'; object-src 'none';

For SVG files, having 'unsafe-inline' for style-src is fine, since
it only applies to the very same file and cannot include other local
or remote resources.

Resolves: #100041
Releases: main, 12.4, 11.5
Change-Id: I198e0a8225ef6c0e729a3ae78981581b2d2b2205
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/79033


Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 25f890ad
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment