https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28316
Peter Vashchuk <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #121443|0 |1 is obsolete| | Attachment #121562|0 |1 is obsolete| | --- Comment #16 from Peter Vashchuk <[email protected]> --- Created attachment 121751 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121751&action=edit Bug 28316: remove unquoted semicolons and screen all followup colons Currently searches like: "book:", ":book" and "host-item:test:n" cause internal server errors. This patch adds additional regexes that strips the colons from the start and end of the query, and another regex that screens all follow-up colons that go after the first colon to avoid errors when searching for "host-item:test:n". To reproduce: 1) using ES, search for the book with title that contains semicolon at the start or at the end of the line, separated with spaces, this should cause internal server error. 2) try doing the same with something like "host-item:test:n", it should result in error as well. 3) apply the patch. 4) repeat steps 1-2, ensure that it works now. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
