[freeside-commits] branch master updated. 88dbc5b1692d37bac7cd825ef4b61cf971c40677
Ivan
ivan at 420.am
Fri Jul 10 18:38:52 PDT 2015
The branch, master has been updated
via 88dbc5b1692d37bac7cd825ef4b61cf971c40677 (commit)
from d8305ea9c9b9cf2b05b20b22ebffc087ef2d16c9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 88dbc5b1692d37bac7cd825ef4b61cf971c40677
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Jul 10 18:38:51 2015 -0700
elimiate warnings about RT method changing from EscapeUTF8 to EscapeHTML, RT#13852
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index 297d591..ff57b43 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,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Mason.pm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list