[BUGFIX] Catch possible error due to wrong redirect regex 17/59817/7
authorMarkus Klein <markus.klein@typo3.org>
Mon, 4 Mar 2019 19:36:44 +0000 (20:36 +0100)
committerBenni Mack <benni@typo3.org>
Mon, 4 Mar 2019 20:01:15 +0000 (21:01 +0100)
commit1254b62c59bfb7f87abff95758932e37dd625e96
treebea09dd205232701d22a19db86cd624d1530f5f0
parent8d61bef0865649bbe3d73bdf77a47c760c8d9ba4
[BUGFIX] Catch possible error due to wrong redirect regex

Capture possible errors due to invalid regex for redirects.
Log those errors as warnings.
Additionally the placeholder text of the source field is enhanced
with a proper example for a regex.

Resolves: #87744
Releases: master, 9.5
Change-Id: Ia4fa763282d91f9e69e2050df3a26c50633ee08b
Reviewed-on: https://review.typo3.org/c/59817
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Frank Naegler <frank.naegler@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/redirects/Classes/Service/RedirectService.php
typo3/sysext/redirects/Resources/Private/Language/locallang_module_redirect.xlf