]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 26 Jun 2019 16:38:53 +0000 (16:38 +0000)
commitf61cb044721d2fe3594b3e92f5d8f7da56ac4d04
treec992012ac236e45819d530c820f7e42dfd0e607d
parent5d7cd4771863ea94a6a81db1f8e136a272aad06a
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>
(cherry picked from commit 5a1a3f0161ae15536137454dc1affb1724e9b58b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
virtualshelves/shelves.pl