Review 12.4 Merged

79204[BUGFIX] Grant inline scripts & styles via CSP in admin panel output

Oliver Hader CR +2 V +2 Normal +126 −16 updated 06/26/23, 11:53

Commit message

The admin panel uses Symfony's `HtmlDumper` to output data - which is
adding inline JavaScript and StyleSheet elements. To be compatible with
CSP those elements need to be allowed with a nonce attribute.

This change relies on a merged pull request for Symfony v6.3:
https://github.com/symfony/symfony/pull/49977

Executed commands:
composer req symfony/var-dumper:^6.3
composer req symfony/var-dumper:^6.3 \
  -d typo3/sysext/adminpanel --no-update

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 8