Actions
Bug #16488
closedWarning: preg_split(): Unknown modifier 'x' in /path/to/class.tx_indexedsearch.php on line 1978
Start date:
2006-08-24
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If the search pattern includes a forward slash '/' you get this php warning message.
The Problem is that the preg_split in the function markupSWpartsOfString recognizes the slash as delimiter.
A solution could be to escape forward slashs in $regExString:
$regExString = str_replace('/', '\/',$regExString);
For me this is working. Perhaps you can check, if this is a good solution for this problem.
BTW: the problem only occures if the search has any results - of course. So for testing first make sure that you have some page content like aa/bb indexed and search for it.
(issue imported from #M4093)
Files
Actions