Issue Bug Closed

#41728/ in sword_list results in "Unknown modifier" error

mpk 10/08/12, 17:32 updated 10/02/18, 12:16

Description

When you use the search plugin to find something with / (slash) in it, it results in the following error:

Core: Error handler (FE): PHP Warning: preg_split() [function.preg-split]: Unknown modifier ‘M’ in …/typo3/sysext/cms/tslib/class.tslib_content.php line 4571

This can be solved when replacing / with \/ within $GLOBALS[‘TSFE’]->sWordRegEx. This should happen at creation in typo3\sysext\cms\tslib\class.tslib_pagegen.php (around line 160+ in core 4.5.19).

Reviews 2