[TYPO3-core] RFC: Fix bug 4093: PHP warning if indexed_search search word contains a front slash

Karsten Dambekalns karsten at typo3.org
Tue Aug 29 15:16:28 CEST 2006


On Friday 25 August 2006 17:49, Michael Stucki wrote:
> Solution:
> Quote searchwords using preg_quote() instead of quotemeta().

+1, preg_quote should be used everywhere a preg call is fed with user input.

Karsten Dambekalns
TYPO3 Association - Active Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060829/17d027c3/attachment.pgp 

More information about the TYPO3-team-core mailing list