[TYPO3-core] RFC: Fix bug 4093: PHP warning if indexed_search search word contains a front slash
Michael Stucki
michael at typo3.org
Fri Sep 1 01:11:00 CEST 2006
Committed to TYPO3_4-0 / Trunk.
- michael
Michael Stucki wrote:
> This is a SVN patch request.
>
> Problem:
> 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.
>
> Solution:
> Quote searchwords using preg_quote() instead of quotemeta().
>
> Branches:
> TYPO3_4-0 / Trunk
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=4093
>
> - michael
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list