Review main Merged

78776[TASK] Track CSP nonce consumption

Oliver Hader CR +2 V +2 Normal +102 −36 updated 04/21/23, 22:44

Commit message

The new `ConsumableValue` class has been added, which is capable
of tracking how often a value has been used for any kind of output.
This way, it can be determined whether the nonce value would be
required at all.

This patch is a preparation for handling dynamic nonce values in
cached scenarios during the frontend rendering process.

Other occurrences of `$properties['nonce']` in `PageRenderer` were
without any specific functionality and just have been simplified.

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 10