]> git.koha-community.org Git - koha.git/commit
Bug 14524: Don't escape query_cgi with uri
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 13 Jul 2015 14:44:23 +0000 (15:44 +0100)
committerTomas Cohen Arazi <tomascohen@unc.edu.ar>
Mon, 20 Jul 2015 13:20:20 +0000 (10:20 -0300)
commitff280e01f4927d3860ec3d607e8d3be310dd358b
tree8bb7a76e4374bbd0689916fed5da2a2ec1c9f035
parent1a8962f306d2d2f0c7789c649aa615192ccd5ca1
Bug 14524: Don't escape query_cgi with uri

According to the doc, we should not escape query_cgi with the uri
filter:
http://www.template-toolkit.org/docs/manual/Filters.html#section_uri

Since query_cgi can contains something like: "idx=kw&q=42", we should
not escape the & char

Test plan:
0/ Don't apply the patch
1/ Go on launch a search at the OPAC
2/ Click on the RSS icon
3/ You should arrive on
opac-search.pl?idx%3Dkw%26q%3D42&count=50&sort_by=acqdate_dsc&format=rss2
The & has been escaped.
4/ Apply the patch
5/ Now you should get result and see an url correctly formatted.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt