Project

General

Profile

Actions

Bug #103467

open

Redirect module: Problems with redirects with regexp

Added by Manuel Csikos 8 months ago. Updated 8 months ago.

Status:
New
Priority:
Should have
Assignee:
Category:
Link Handling & Redirect Handling
Target version:
-
Start date:
2024-03-22
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
redirect, regexp
Complexity:
Is Regression:
Sprint Focus:

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.

Actions

Also available in: Atom PDF