[Koha] Search in intranet with non-ASCII-characters

Jonathan Druart jonathan.druart at biblibre.com
Mon Jun 22 22:45:25 NZST 2015


See bug 14431 for a patch (coming soon).

http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14431

2015-06-22 11:22 GMT+01:00 Jonathan Druart <jonathan.druart at biblibre.com>:
> Hello Beda,
>
> I confirm that it's a bug, on master and 3.20.
> Certainly caused by bug 11944.
> Did you open a bug report?
>
> Regards,
> Jonathan
>
> 2015-06-20 19:41 GMT+01:00 Beda Szukics <beda at kollegium-sarnen.ch>:
>> Hi all
>>
>> Since I upgraded to 3.20 I have a very strange search problem.
>>
>> In the intranet interface searches with a non-ASCII-character show no
>> results.
>>
>> In the opac interface the results are there.
>>
>> For example:
>>
>> "Schärer" results in an error:
>>
>> No results match your search for 'kw,wrdl: Sch�rer' in ...
>>
>> "Scherer" shows some results (in my case 236 items).
>>
>> In /var/log/koha/kb/intranet-error.log I see:
>>
>> [Sat Jun 20 20:34:43.521663 2015] [cgi:error] [pid 20806] [client
>> 192.168.1.52:57404] AH01215: [Sat Jun 20 20:34:43 2015] search.pl:
>> CGI::param called in list context from package main line 421, this can
>> lead to vulnerabilities. See the warning in "Fetching the value or
>> values of a single named parameter" at /usr/share/perl5/CGI.pm line
>> 436., referer:
>> http://bibliotheksverwaltung.kollegi/cgi-bin/koha/catalogue/search.pl?q=Sch%C3%A4rer
>>
>> However there is also an entry for "Scherer":
>>
>> [Sat Jun 20 20:37:13.234366 2015] [cgi:error] [pid 20899] [client
>> 192.168.1.52:59580] AH01215: [Sat Jun 20 20:37:13 2015] search.pl:
>> CGI::param called in list context from package main line 421, this can
>> lead to vulnerabilities. See the warning in "Fetching the value or
>> values of a single named parameter" at /usr/share/perl5/CGI.pm line
>> 436., referer:
>> http://bibliotheksverwaltung.kollegi/cgi-bin/koha/catalogue/search.pl?q=Scherer
>>
>> What's wrong? Any suggestions?
>>
>> Beda
>> _______________________________________________
>> Koha mailing list  http://koha-community.org
>> Koha at lists.katipo.co.nz
>> https://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list