[Rt-commit] r6432 - in rt/branches/3.6-RELEASE: . html/Ticket/Elements

jesse at bestpractical.com jesse at bestpractical.com
Tue Nov 14 15:53:31 EST 2006


Author: jesse
Date: Tue Nov 14 15:53:31 2006
New Revision: 6432

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/html/Ticket/Elements/ShowTransactionAttachments
   rt/branches/3.6-RELEASE/lib/RT/Interface/Web/Handler.pm

Log:
 r44838 at pinglin:  jesse | 2006-11-14 15:53:18 -0500
 * Move Text::Quoted back to being a run-time require. So that it's possible to turn off the feature if it causes your perl to segfault. (Text::Tabs is...not robust in the face of perl bugs)


Modified: rt/branches/3.6-RELEASE/html/Ticket/Elements/ShowTransactionAttachments
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Elements/ShowTransactionAttachments	(original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Elements/ShowTransactionAttachments	Tue Nov 14 15:53:31 2006
@@ -137,7 +137,7 @@
             # if it's a text/plain show the body
             elsif ( $message->ContentType =~ m{^(text|message|text)}i ) {
 
-                eval { $content = Text::Quoted::extract($content); };
+                eval { require Text::Quoted;  $content = Text::Quoted::extract($content); };
                 if ($@) { 1; }
 
                 $m->comp(

Modified: rt/branches/3.6-RELEASE/lib/RT/Interface/Web/Handler.pm
==============================================================================
--- rt/branches/3.6-RELEASE/lib/RT/Interface/Web/Handler.pm	(original)
+++ rt/branches/3.6-RELEASE/lib/RT/Interface/Web/Handler.pm	Tue Nov 14 15:53:31 2006
@@ -53,7 +53,6 @@
 use Time::HiRes;
 use HTML::Entities;
 use HTML::Scrubber;
-use Text::Quoted;
 use RT::Interface::Web::Handler;
 use File::Path qw( rmtree );
 use File::Glob qw( bsd_glob );


More information about the Rt-commit mailing list