[Typo3-UG Oesterreich] Bug im Indexed Search bei Großbuchstaben

Michael Stucki mundaun at gmx.ch
Thu Sep 16 15:52:09 CEST 2004


Hallo Markus,

> Was jedoch keinen Unterschied macht, da die offizielle dasselbe Verhalten
> zeigt. Habt ihr selbst noch nei das Problem beobachtet? Habt ihr mal eine
> Indexed Search auf einer HP verwendet, wo ich mir das mal kurz anschauen
> darf?

Auf http://typo3.org/ ist der Fehler z.B. auch vorhanden.

Der Fehler ist in 3.7 gelöst, der Patch ist recht simpel:

--- cut ---
--- class.tslib_search.php.bak  2004-09-16 15:49:35.000000000 +0200
+++ class.tslib_search.php  2004-09-16 15:49:39.000000000 +0200
@@ -226,7 +226,7 @@
         * @param       string          Special chars which are deleted if the append the searchword (+-., is default)
         * @return      mixed           Returns an ARRAY if there were search words, othervise the return value may be unset.
         */
-       function split($origSword, $specchars='+-', $delchars='+.,-')   {
+       function split($origSword, $specchars='+-', $delchars='+-.,')   {
                $sword = $origSword;
                $specs = '['.$this->quotemeta($specchars).']';
                $delchars = '['.$this->quotemeta($delchars).']';
--- cut ---

Gruss, michael
-- 
Want support? Please read the list rules first: http://typo3.org/1438.0.html



More information about the TYPO3-at mailing list