Bug 20945: Escape SQL parameters when constructing download links
authorNick Clemens <nick@bywatersolutions.com>
Thu, 14 Jun 2018 14:20:44 +0000 (14:20 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 29 Jun 2018 20:06:37 +0000 (20:06 +0000)
commit894eb72addc71b1007c816d49bd807dd8983a180
treecc33653e1c0a5b1415035f8d75724f241e6aa6d9
parenta2993e82e90b7bde37a147a3daa868bd441c542a
Bug 20945: Escape SQL parameters when constructing download links

TO test:
1 - Create a report that takes a parameter
2 - Enter a parameter containing '%'
3 - Attempt to download report, note link is misconstructed
4 - Apply patch
5 - Reload
6 - Note URL is now correct

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc