]> git.koha-community.org Git - koha.git/commit
Bug 22941: Do not return 500 if sortfield contain parenthesis
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 8 Jun 2019 19:45:33 +0000 (14:45 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 20 Jun 2019 12:24:59 +0000 (14:24 +0200)
commit5a1a3f0161ae15536137454dc1affb1724e9b58b
tree5f8dff749e557a8a296eafb23f2c5b82757146c6
parent62532449a70ff00649862f69cbc10d97903b0eca
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

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit f8db499f4a9c71e7a2ffef0fadaecddb938330d4)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
virtualshelves/shelves.pl