Review 12.4 Merged

81580[TASK] Use ConsumableNonce instead of blunt Nonce in CSP context

Oliver Hader CR +2 V +2 Normal +125 −93 updated 10/26/23, 16:09

Commit message

To identify whether a nonce values was actually used (consumed),
`ConsumableNonce` instances are used, instead of `Nonce` objects.
The new `ConsumableNonce` inherits from `ConsumableString`.

As a result, the `<f:security.nonce>` view helper would increase
the consumption counter. This is important for additional cache
handling in the frontend rendering context.

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 29

Show 9 more files