[freeside-commits] branch master updated. 0203210ca5880fc7c7d93b912925239916a12db4

Ivan ivan at 420.am
Sat Jun 2 04:00:21 PDT 2012


The branch, master has been updated
       via  0203210ca5880fc7c7d93b912925239916a12db4 (commit)
      from  4db356e2adbdab3817cb00d2ea761928161fd4f1 (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 0203210ca5880fc7c7d93b912925239916a12db4
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Sat Jun 2 04:00:08 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 cc501c0..de97a19 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -306,6 +306,7 @@ if ( -e $addl_handler_use_file ) {
   use FS::sales;
   use FS::access_groupsales;
   use FS::contact_class;
+  use FS::part_svc_class;
   # Sammath Naur
 
   if ( $FS::Mason::addl_handler_use ) {
@@ -576,6 +577,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 |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list