Review 12.4 Merged

79166[TASK] Allow f:asset.css and f:asset.script to use CSP nonce

Oliver Hader CR +2 V +2 Easy +8 −8 updated 06/03/23, 08:18

Commit message

Adds new boolean `useNonce` attribute to asset view helpers, e.g.
`<f:asset.css useNonce="1">` or `<f:asset.script useNonce="1">`.
This way the `AssetRenderer` is instructed to apply the global
dynamic nonce value.

The previous change for issue #100732 did only consider inline
scripts and stylesheets.

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