Review 11.5 Merged

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

Oliver Hader CR +2 V +2 Easy +29 −6 updated 05/15/23, 16:00

Commit message

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.

Review

  • Code review CR +2 Done
    • Oliver Hader +2
  • Verified V +2 Done
    • Oliver Hader +2
    • core-ci +1 CI

Issues 1

Files 4

Review log 34

  1. Oliver Hader uploaded patch set 1 05/15/23, 15:47

  2. core-ci voted on patch set 1 V +1 05/15/23, 15:59 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/41839

  3. Oliver Hader voted on patch set 1 V +2 CR +2 05/15/23, 16:00

  4. Oliver Hader merged patch set 2 05/15/23, 16:00