[TASK] Use consistent checks for USER_INT logic
A few places in TYPO3 Core do manual checks if there are non-cacheables on a page, which could be simplified by just using the $TSFE->isINTincScript() method. In addition, a safer check for a NON-empty INTincScript value is used, instead of just a typecheck of array. Resolves: #89652 Releases: master Change-Id: I24b2b55b3705927720e36181926cf6e752bf0f66 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62303 Tested-by:Markus Klein <markus.klein@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Markus Klein <markus.klein@typo3.org> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 3 additions, 3 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Http/RequestHandler.php 1 addition, 1 deletiontypo3/sysext/frontend/Classes/Http/RequestHandler.php
- typo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php 4 additions, 0 deletionstypo3/sysext/frontend/Tests/Unit/Http/RequestHandlerTest.php
Please register or sign in to comment