Project

General

Profile

Actions

Bug #102176

closed

Missing error suppression for preg_match in RedirectService

Added by Moritz Noll 9 months ago. Updated 8 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Redirect Handling
Target version:
-
Start date:
2023-10-16
Due date:
% Done:

100%

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

Description

You have a missing '@' sign in front of preg_match like the lines before to suppress the errors.
https://forge.typo3.org/projects/typo3cms-core/repository/1749/revisions/main/entry/typo3/sysext/redirects/Classes/Service/RedirectService.php#L162
I was able to raise an error there by calling an URL with parameter.


Files

exception.png (43.9 KB) exception.png Moritz Noll, 2023-10-16 09:45

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #104190: restrict "Unsafe captching group regex"-message to only used replacementsNeeds Feedback2024-06-24

Actions
Actions

Also available in: Atom PDF