[Koha-bugs] [Bug 22223] Item url double-encode when parameter is an encoded URL

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 21 18:16:59 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22223

--- Comment #35 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 133589
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133589&action=edit
Bug 22223: Try to not double encoded URIs in items.uri

This is just a POC and is not ready for inclusion (Filter.pm and naming
need to be discussed).

Test plan:
Create 2 items, with uri:
  https://www.google.com/url?q=https://buttercup.pw
  https://www.google.com/url?q=https%3A%2F%2Fbuttercup.pw

Go to the OPAC detail page of the bib record, see that the links are
displayed how you entered them.
Click on them and confirm that the uri/page is correct

Signed-off-by: Séverine Queune <severine.queune at bulac.fr>

JD amended patch:
* Remove use Template::Plugin::Filter;
* Fix license statement

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list