Review main Merged

64331[TASK] Replace <style> for compliance with CSP header in svgs

TYPO3com CR +2 V +2 Easy +8 −8 updated 02/09/21, 13:16

Commit message

SVG with inline styles are not loaded when the Content-Security-Policy
header contains the widely used setting "style-src 'self';" because
the browser has to reject interpreting the style attribute.
In this case a black rectangle is displayed.
Using attributes instead of styles is compliant with CSP "style-src
'self';" and the svgs can be displayed.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2