[BUGFIX] Avoid double base64 encoding for reused ConsumableNonce
Only base64 encode if a new nonce value has been created. Resolves: #102438 Releases: main, 12.4 Change-Id: I816556feefb787328cadb2ac9e92aec43a5e08a2 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/81893 Reviewed-by:Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/core/Classes/Security/ContentSecurityPolicy/ConsumableNonce.php 2 additions, 1 deletion...lasses/Security/ContentSecurityPolicy/ConsumableNonce.php
- typo3/sysext/core/Tests/Unit/Security/ContentSecurityPolicy/ConsumableNonceTest.php 56 additions, 0 deletions...it/Security/ContentSecurityPolicy/ConsumableNonceTest.php
Please register or sign in to comment