-
Oliver Hader authored
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. Resolves: #100691 Releases: main Change-Id: I7e200ba27d0e6f8d4dc3a20fc1ba333f398936ed Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78776 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
fea5e0bf