[BUGFIX] Fix /date|time|int/ regex in backend search
Several parts of the core use the regular expression /date|time|int/ to test, if an 'eval' TCA configuration of a field contains one of these evaluation strings. This regex would however match any other string that contains one of those words. This patch fixes this behaviour by matching only the exact words. Resolves: #40347 Releases: master, 9.5 Change-Id: I2af1e3bf5b5cc4056f0e3875645c549a01e6dbd0 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/61885 Tested-by:Oliver Hader <oliver.hader@typo3.org> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Search/LiveSearch/LiveSearch.php 2 additions, 2 deletions...3/sysext/backend/Classes/Search/LiveSearch/LiveSearch.php
- typo3/sysext/backend/Classes/View/PageLayoutView.php 2 additions, 2 deletionstypo3/sysext/backend/Classes/View/PageLayoutView.php
- typo3/sysext/core/Classes/Resource/Search/QueryRestrictions/SearchTermRestriction.php 1 addition, 1 deletion...source/Search/QueryRestrictions/SearchTermRestriction.php
- typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php 2 additions, 2 deletions...sext/recordlist/Classes/RecordList/DatabaseRecordList.php
Please register or sign in to comment