Project

General

Profile

Actions

Bug #41728

closed

/ in sword_list results in "Unknown modifier" error

Added by mpk about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-10-08
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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() [<a href='function.preg-split'>function.preg-split</a>]: 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).


Files

pagegen.diff (892 Bytes) pagegen.diff mpk , 2012-10-15 22:56
Actions

Also available in: Atom PDF