[Rt-commit] rtir branch, 4.2/update-moved-html-scrubber, created. 4.0.1rc1-87-gb1f3ebb4

Maureen Mirville maureen at bestpractical.com
Tue Nov 27 18:31:25 EST 2018


The branch, 4.2/update-moved-html-scrubber has been created
        at  b1f3ebb49fa8a3c64f54982552740c768c7e8650 (commit)

- Log -----------------------------------------------------------------
commit b1f3ebb49fa8a3c64f54982552740c768c7e8650
Author: Maureen E. Mirville <maureen at bestpractical.com>
Date:   Tue Nov 27 18:16:14 2018 -0500

    Update Web Scrubber to correspond with RT changes
    
    RT's Web Scrubber was moved to its own class and renamed (see RT
    commit #01f90b627e). Updated RTIR to work with these changes.

diff --git a/lib/RT/IR/Web.pm b/lib/RT/IR/Web.pm
index 7a097c00..14fd57b0 100644
--- a/lib/RT/IR/Web.pm
+++ b/lib/RT/IR/Web.pm
@@ -57,7 +57,7 @@ package HTML::Mason::Commands;
 # If we set this in the ColumnMap callback, it's too late, as RT's scrubber
 # has already been initialized
 #
-$HTML::Mason::Commands::SCRUBBER_ALLOWED_ATTRIBUTES{'href'} = '^(?:'.$HTML::Mason::Commands::SCRUBBER_ALLOWED_ATTRIBUTES{'href'} . ')|(?:__RTIRTicketURI__)';
+$RT::Interface::Web::Scrubber::ALLOWED_ATTRIBUTES{'href'} = '^(?:'.$RT::Interface::Web::Scrubber::ALLOWED_ATTRIBUTES{'href'} . ')|(?:__RTIRTicketURI__)';
 
 package RT::IR::Web;
 RT::Base->_ImportOverlays();

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


More information about the rt-commit mailing list