[Koha-bugs] [Bug 8646] Certain search terms cause browser "script taking too long" error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 17 14:38:49 CEST 2012


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

--- Comment #2 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 11658
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11658&action=edit
Bug 8646 - prevent the highlighter from going infinite loop

On certain search queries, for example
http://koha-intra/cgi-bin/koha/catalogue/search.pl?kw=idx&q=ti:book%20
the highlighter starts going into an infinite loop until the browser
decides to kill it.

This patch prevents the bad input going to the highlighter.

It also includes the fix on the OPAC, even though the issue doesn't come
up there. Better to be safe...

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list