TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #102176
Issue Bug Closed

#102176Missing error suppression for preg_match in RedirectService

Moritz Noll 10/16/23, 08:25 updated 07/09/24, 15:19

Open in Forge Comment in Forge

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.

Reviews 3

  • 11.5 84843[BUGFIX] Silence regexp pattern errors in EXT:redirects Resolves this issue Merged Stefan Bürk CR +2 V +2 → main, 12.4 Easy +4 −2 06/25/24, 08:31
  • 12.4 84842[BUGFIX] Silence regexp pattern errors in EXT:redirects Resolves this issue Merged Stefan Bürk CR +2 V +2 → main, 11.5 Easy +4 −2 06/25/24, 08:31
  • main 84872[BUGFIX] Silence regexp pattern errors in EXT:redirects Resolves this issue Merged Stefan Bürk CR +2 V +2 → 12.4, 11.5 Easy +4 −2 06/25/24, 08:31

Related issues 1

  • Bug #104190restrict "Unsafe captching group regex"-message to only used replacements Related to Resolved Link Handling & Redirect Handling v13 Mordamir 06/24/24, 08:10
Author
Moritz Noll
Priority
Should have
Category
Link Handling & Redirect Handling
TYPO3 version
11
PHP version
7.4
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback