[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 28 09:08:20 CEST 2022


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|jonathan.druart+koha at gmail. |oleonard at myacpl.org
                   |com                         |
             Status|Passed QA                   |In Discussion

--- Comment #42 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Fridolin Somers from comment #40)
> That code looks very strange to me.
> Naming a TT filter 'Filter'.
> 
> I would prefer to see syntax : [% var | $NoDoubleEncode %]
> Like TT plugin Price.
> 
> Class is using :
> Base qw( Template::Plugin::Filter )
> But does not implement a 'filter' method.

The idea was to have a module that would deal with other encode/decode, or
replacements functions.
I still think it is a good idea.

I don't have more time to dedicate to this patch unfortunately.

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


More information about the Koha-bugs mailing list