[Koha-bugs] [Bug 20975] Improve auto escaping performance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 21 16:08:21 CEST 2018


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |In Discussion

--- Comment #7 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Koha::Template::AutoEscaping is a naive adaptation of
Template::Stash::AutoEscaping. I have tried to simplify the code to remove what
will not be useful for us.

The performances are good, I guess it helps to avoid 1 object creation
(::Escaped::HTML) by variable.

But... it does not work. If you are applying the last patch on top of bug 13618
you will notice that variables are double-escaped.

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


More information about the Koha-bugs mailing list