From dc605464524fe4d447a71da6a15ded54caad3a9e Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Mon, 21 Feb 2022 04:57:40 +0000 Subject: [PATCH] Revert "Bug 26102: Prevent XSS when To.json is used: guarantor_search.tt" This reverts commit 2b332eb5bf0857b43256f8854af88bf4f10df1a9. --- .../prog/en/modules/members/tables/guarantor_search.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/guarantor_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/guarantor_search.tt index cbac0393a9..a82f0e8dcb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/guarantor_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/tables/guarantor_search.tt @@ -32,5 +32,5 @@ [%~ IF data.zipcode %][% SET address = address _ data.zipcode _ ' ' %][% END %] [%~ IF data.country %][% SET address = address _ data.country _ ' ' %][% END %] [%~ SET address = address _ Branches.GetName( data.branchcode ) %] -[%~ address | html | $To ~%] +[%~ To.json( address ) | $raw ~%] [% END %] -- 2.39.5