[TASK] Ensure PageArgumentValidator is not dependent on TSFE
Checking if cHash matches any GET parameters can be done without $TSFE->cHash_array and $TSFE->hash as all data is built inside PageArguments already. However, $TSFE->cHash_array is still necessary and filled as before when ->setPageArguments() is called. This is a precursor to re-structure the dependencies within TSFE and PSR-15 middlewares. Resolves: #88460 Releases: master Change-Id: I43c2fdc1049d451b3fc9bc06a57b744703a7a323 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60841 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Daniel Gorges <daniel.gorges@b13.de> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Daniel Gorges <daniel.gorges@b13.de> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 11 additions, 0 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Middleware/PageArgumentValidator.php 83 additions, 39 deletions...ext/frontend/Classes/Middleware/PageArgumentValidator.php
- typo3/sysext/frontend/Classes/Page/PageAccessFailureReasons.php 2 additions, 0 deletions...sysext/frontend/Classes/Page/PageAccessFailureReasons.php
- typo3/sysext/frontend/Tests/Unit/Middleware/PageArgumentValidatorTest.php 47 additions, 4 deletions...ntend/Tests/Unit/Middleware/PageArgumentValidatorTest.php
Please register or sign in to comment