[Rt-commit] rt branch, 3.8/apply-escapes-rt-email-dashboards, created. rt-3.8.13-2-gc302a8f

Kevin Falcone falcone at bestpractical.com
Fri Jun 15 20:10:00 EDT 2012


The branch, 3.8/apply-escapes-rt-email-dashboards has been created
        at  c302a8f80c2a2d45de89686d7e3db5325915db78 (commit)

- Log -----------------------------------------------------------------
commit c302a8f80c2a2d45de89686d7e3db5325915db78
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jun 15 19:08:06 2012 -0500

    Don't ask the interp object for the interp object
    
    This corrects 82c9189f
    We now look more like the 4.0 code in Dashboard/Mailer.pm

diff --git a/sbin/rt-email-dashboards.in b/sbin/rt-email-dashboards.in
index 0b3686a..2323a5e 100644
--- a/sbin/rt-email-dashboards.in
+++ b/sbin/rt-email-dashboards.in
@@ -384,9 +384,9 @@ sub get_from {
                 autohandler_name => '', # disable forced login and more
                 data_dir => $data_dir,
             );
-            $mason->interp->set_escape( h => \&RT::Interface::Web::EscapeUTF8 );
-            $mason->interp->set_escape( u => \&RT::Interface::Web::EscapeURI  );
-            $mason->interp->set_escape( j => \&RT::Interface::Web::EscapeJS   );
+            $mason->set_escape( h => \&RT::Interface::Web::EscapeUTF8 );
+            $mason->set_escape( u => \&RT::Interface::Web::EscapeURI  );
+            $mason->set_escape( j => \&RT::Interface::Web::EscapeJS   );
         }
         return $mason;
     }

-----------------------------------------------------------------------


More information about the Rt-commit mailing list