[Koha-bugs] [Bug 22941] Giving malformed sortfield to list results in Internal Server Error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 8 21:47:09 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22941

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 90441
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=90441&action=edit
Bug 22941: Do not return 500 if sortfield contain parenthesis

Test plan:
Hit /virtualshelves/shelves.pl?op=view&shelfnumber=1&sortfield=author(

You must not get:
Unmatched ( in regex; marked by <-- HERE in m/^author( <-- HERE $/ at
/home/vagrant/kohaclone/virtualshelves/shelves.pl line 236

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


More information about the Koha-bugs mailing list