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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 2 Jul 2018 08:18:49 +0000 (09:18 +0100)
commit0557c0fd9c468fb32011897318fb239dcdc30bc8
tree473b62ce78cc46518b1b918be1624a78d0fb58a5
parent6ad2c1402fa3a8d419a357233a6e4ad19e58a3db
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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc