[BUGFIX] Replace regexp capture groups for redirects
The capture group in the redirect target are now replaced, so redirects with regular expressions are working referencing the original URL. Resolves: #89799 Releases: master, 9.5 Change-Id: Ib624e6c7b40dd09ec090e72339ad9aae1211cc4e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62781 Tested-by:Benni Mack <benni@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Susanne Moog <look@susi.dev> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Susanne Moog <look@susi.dev>
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 23 additions, 1 deletiontypo3/sysext/redirects/Classes/Service/RedirectService.php
- typo3/sysext/redirects/Tests/Unit/Service/RedirectServiceTest.php 37 additions, 7 deletions...sext/redirects/Tests/Unit/Service/RedirectServiceTest.php
Please register or sign in to comment