[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 2ae4fc4fc3044edd8c3dd205cd98e1a517654e63
Ivan
ivan at 420.am
Sat Jun 2 04:00:19 PDT 2012
The branch, FREESIDE_2_3_BRANCH has been updated
via 2ae4fc4fc3044edd8c3dd205cd98e1a517654e63 (commit)
from a805e954792ea580d1c7f5cbd1b00f482676164d (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 2ae4fc4fc3044edd8c3dd205cd98e1a517654e63
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sat Jun 2 04:00:16 2012 -0700
new escape flags in RT 3.8.12+ and 4.0.6+, RT#17928
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index 60b0b5f..a465063 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -573,6 +573,8 @@ sub mason_interps {
[ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ],
],
escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8,
+ 'u' => \&RT::Interface::Web::EscapeURI,
+ 'j' => \&RT::Interface::Web::EscapeJS,
'js_string' => $js_string_sub,
},
compiler => HTML::Mason::Compiler::ToObject->new(
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Mason.pm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
More information about the freeside-commits
mailing list