[BUGFIX] Pass FrontendUserAuthentication to redirect handling
`$GLOBALS['TSFE']->fe_user` is not available in the RedirectService. This patch now explicitly passes the `frontend.user` attribute of the current request to the RedirectService. Resolves: #88906 Releases: master Change-Id: Iae876d6a14f29e675295503be3be80008bcccbb1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61430 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de>
Showing
- typo3/sysext/redirects/Classes/Http/Middleware/RedirectHandler.php 1 addition, 1 deletion...ext/redirects/Classes/Http/Middleware/RedirectHandler.php
- typo3/sysext/redirects/Classes/Service/RedirectService.php 10 additions, 6 deletionstypo3/sysext/redirects/Classes/Service/RedirectService.php
- typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php 7 additions, 6 deletions...sext/redirects/Tests/Unit/Service/RedirectServiceTest.php
Please register or sign in to comment