#103467Redirect module: Problems with redirects with regexp
Description
Hello everybody,
I have some problems with the redirect module of TYPO3.
I use a redirect with regex “#^/newpage/(.*)$#” to redirect all incoming URL’s of a certain page. This works well, so far no problem.
But now I also have cases where the old URL looks like this: “www.domain.tld/newpage/index.aspx?id=123” and here the redirect no longer works because my TYPO3 has problems with the “id=123”. It does not redirect, but tries to display the TYPO3 page with the id “123”, which cannot be resolved (because this page does not exist in this case) and (in this case also correctly) leads to my 404 page.
It seems that if I have a regex-redirect with an id inside my URL, the redirect does not work.
The TYPO3 is 11.5.36, “is_regexp” is set to true.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[BUGFIX] Redirect module: Problems with redirects with regexp Resolves: #103467 Releases: main