[TASK] Use the current request to resolve TSFE in redirects
The RedirectService should have a ServerRequestInterface object that can properly set up TSFE when linking to pages. Resolves: #92666 Releases: master Change-Id: I39fddb224396410bfc0bffb229ea16eaeef5adeb Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66140 Tested-by:Oliver Bartsch <bo@cedev.de> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Daniel Goerz <daniel.goerz@posteo.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Daniel Goerz <daniel.goerz@posteo.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 38 additions, 14 deletionstypo3/sysext/redirects/Classes/Service/RedirectService.php
- typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php 28 additions, 10 deletions...sext/redirects/Tests/Unit/Service/RedirectServiceTest.php
Please register or sign in to comment