summaryrefslogtreecommitdiff
path: root/rt/share/html/Ticket/Elements/ShowTransactionAttachments
diff options
context:
space:
mode:
authorivan <ivan>2010-01-03 08:07:15 +0000
committerivan <ivan>2010-01-03 08:07:15 +0000
commitf8ecdcae961003312ce3c65113c87a9a2565fdd2 (patch)
tree2ee74a1f12062beb64b4ce6731511bc2a3c52983 /rt/share/html/Ticket/Elements/ShowTransactionAttachments
parent380df2ee971291598a2b4864a69f067796694b5f (diff)
port skinning, customer display/edit from RT 3.6 integration to RT 3.8 integration
Diffstat (limited to 'rt/share/html/Ticket/Elements/ShowTransactionAttachments')
-rw-r--r--rt/share/html/Ticket/Elements/ShowTransactionAttachments10
1 files changed, 8 insertions, 2 deletions
diff --git a/rt/share/html/Ticket/Elements/ShowTransactionAttachments b/rt/share/html/Ticket/Elements/ShowTransactionAttachments
index 9c40b28da..51c4aa47c 100644
--- a/rt/share/html/Ticket/Elements/ShowTransactionAttachments
+++ b/rt/share/html/Ticket/Elements/ShowTransactionAttachments
@@ -207,8 +207,14 @@ my $render_attachment = sub {
# if it's a text/plain show the body
elsif ( $message->ContentType =~ m{^(text|message)}i ) {
- eval { require Text::Quoted; $content = Text::Quoted::extract($content); };
- if ($@) { $RT::Logger->warning( "Text::Quoted failed: $@" ) }
+ #don't want to use this even if it is installed, its
+ #segfaulting on weird characters and silently truncating the
+ #ticket history output
+ #see:
+ # r44838@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)
+ #eval { require Text::Quoted; $content = Text::Quoted::extract($content); };
+ #if ($@) { $RT::Logger->warning( "Text::Quoted failed: $@" ) }
$m->comp(
'ShowMessageStanza',