Bug #26172

Upper case Umlaut in search string

Added by Ingo Schramme about 2 years ago. Updated 23 days ago.

Status:Under Review Start date:2011-04-21
Priority:Must have Due date:
Assignee:- % Done:

0%

Category:indexed search
Target version:-
TYPO3 Version: Complexity:
PHP Version:
Votes: 1 (View)

Description

If you have an upper case Umlaut in the search String, like "Öffnungszeiten", the description is empty.

The error is in line 2006:

$parts = preg_split('/'.$regExString.'/i', ' '.$str.' ', 20000, PREG_SPLIT_DELIM_CAPTURE);

The $str is not split.

I've replaced it with:

$parts = preg_split('/'.$regExString.'/ui', ' '.$str.' ', 20000, PREG_SPLIT_DELIM_CAPTURE);

History

Updated by Oliver Hader about 1 month ago

  • Target version set to (temporary)

Updated by Oliver Hader about 1 month ago

  • Project changed from Indexed Search to Core

Updated by Oliver Hader about 1 month ago

  • Category set to indexed search

Updated by Oliver Hader about 1 month ago

  • Target version deleted ((temporary))

Updated by Gerrit Code Review 23 days ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/20269

Also available in: Atom PDF