Issue Task Closed

#91216Replace <style> for compliance with CSP header

TYPO3 GmbH TYPO3com 04/28/20, 01:07 updated 02/23/21, 13:13

Description

SVG is not loaded when the Content-Security-Policy header contains the widely used setting “style-src ‘self’;” because then the browser must rejects to load external files containing styles. In this case a black rectangle is displayed.
Using attributes instead of styles is compliant with CSP “style-src ‘self’;” and the file will be loaded.

This issue was automatically created from https://github.com/TYPO3/TYPO3.CMS/pull/247

Reviews 2