From 88dbc5b1692d37bac7cd825ef4b61cf971c40677 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Fri, 10 Jul 2015 18:38:51 -0700 Subject: [PATCH] elimiate warnings about RT method changing from EscapeUTF8 to EscapeHTML, RT#13852 --- FS/FS/Mason.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm index 297d591ea..ff57b4353 100644 --- a/FS/FS/Mason.pm +++ b/FS/FS/Mason.pm @@ -646,7 +646,8 @@ sub mason_interps { [ 'rt' => '%%%FREESIDE_DOCUMENT_ROOT%%%/rt' ], [ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ], ], - escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8, + escape_flags => { 'h' => \&RT::Interface::Web::EscapeHTML, + #u and j aren't used anymore? :/ 'u' => \&RT::Interface::Web::EscapeURI, 'j' => \&RT::Interface::Web::EscapeJS, 'js_string' => $js_string_sub, -- 2.11.0