[Koha-bugs] [Bug 6023] New: Authority searches containing double-quotes returns an error 500.
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 31 17:25:27 CEST 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6023
Bug #: 6023
Summary: Authority searches containing double-quotes returns an
error 500.
Classification: Unclassified
Change sponsored?: ---
Product: Koha
Version: rel_3_2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: Searching
AssignedTo: gmcharlt at gmail.com
ReportedBy: fcapovilla at live.ca
QAContact: koha-bugs at lists.koha-community.org
Created attachment 3577
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=3577
Escape the double quotes in authority search queries to prevent errors.
Searching for any term containing double-quotes returns an error 500 when doing
an authority search on this page : authorities/authorities-home.pl .
The error is returned because the double-quotes aren't escaped when creating
the pqf search query, which breaks the query.
Patch attached which does some escaping on double-quotes when constructing the
pqf query.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
More information about the Koha-bugs
mailing list