Project

General

Profile

Actions

Bug #100215

closed

Redirect by redirectMode "refererDomains" is broken

Added by Torben Hansen over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
felogin
Target version:
-
Start date:
2023-03-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The redirect by refererDomains is broken since 2019, because:

1) The first regex only checks for non-SSL domains - see: preg_match('#^http://([[:alnum:]._-]+)/#', $url, $match)
2) The second regex is wrong (exception: Unknown modifier '/') - see: preg_match('/(?:^|\\.)' . $domain . '$/', $redirectDomain)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98372: Redirect ”Defined by Domain entries“ does not workClosedTorben Hansen2022-09-19

Actions
Actions

Also available in: Atom PDF