[BUGFIX] Properly escalate if a form HMAC fails to decode
If a HMAC cannot be `json_decode`d (possibly due to old saved pages or other outdated content), now a proper exception is thrown instead of issuing a PHP warning. Resolves: #97337 Releases: main, 12.4, 11.5 Change-Id: I12f5633a85508bf4099d72e474c24b5a0100498c Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78002 Reviewed-by:Torben Hansen <derhansen@gmail.com> Tested-by:
Garvin Hicking <gh@faktor-e.de> Reviewed-by:
Garvin Hicking <gh@faktor-e.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Benjamin Franzke <ben@bnf.dev> Tested-by:
Torben Hansen <derhansen@gmail.com> Tested-by:
Benjamin Franzke <ben@bnf.dev>
Showing
- typo3/sysext/core/Classes/Error/AbstractExceptionHandler.php 1 addition, 0 deletionstypo3/sysext/core/Classes/Error/AbstractExceptionHandler.php
- typo3/sysext/extbase/Classes/Mvc/Controller/MvcPropertyMappingConfigurationService.php 7 additions, 0 deletions...Mvc/Controller/MvcPropertyMappingConfigurationService.php
- typo3/sysext/extbase/Tests/Unit/Mvc/Controller/MvcPropertyMappingConfigurationServiceTest.php 44 additions, 0 deletions...Controller/MvcPropertyMappingConfigurationServiceTest.php
Please register or sign in to comment