[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/+/81719 Tested-by:core-ci <typo3@b13.com> Tested-by:
Benjamin Franzke <ben@bnf.dev> Reviewed-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 9 additions, 2 deletions...Mvc/Controller/MvcPropertyMappingConfigurationService.php
- typo3/sysext/extbase/Tests/Unit/Mvc/Controller/MvcPropertyMappingConfigurationServiceTest.php 43 additions, 0 deletions...Controller/MvcPropertyMappingConfigurationServiceTest.php
Please register or sign in to comment