[TASK] Add tests to show working regexp redirects with query parameter
With #101739 a bug has been reported, which is not correct. This change adds functional tests to `ext:redirects` to show and cover that: * regexp redirects with a pattern not covering params but query arguments are given in the request uri and "Respect GET Parameters" has been set do not redirect. * RegExp Redirects with a pattern not covering params and no GET arguments are given in the request uri but "Respect GET Parameters" has been set redirects to the target url. Resolves: #101739 Releases: main, 12.4, 11.5 Change-Id: I023889ba6fefe5a4b06b392e02dece4b6ac517c0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80848 Tested-by:core-ci <typo3@b13.com> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- typo3/sysext/redirects/Tests/Functional/Service/Fixtures/RedirectService_regexp.csv 2 additions, 0 deletions...ts/Functional/Service/Fixtures/RedirectService_regexp.csv
- typo3/sysext/redirects/Tests/Functional/Service/RedirectServiceTest.php 58 additions, 0 deletions...edirects/Tests/Functional/Service/RedirectServiceTest.php
Please register or sign in to comment