Hi,
We are experiencing some inconvenient with RT 3.8.8 and text attachements.
When a text only mail containing a text/plain attachment is replied
upon everything is fine and the attachment is not shown
in the reply message box, however, for text/html message the first
attached text/plain file is used, instead of the inlined text/plain
which is quite problematic when there is an 1Mb attached text file =>
FF hang during a long time
Also there is a small patch so that big text attachements, marked as
attachemnt are not marked as
"not shown because too large" but as ânot shown because not inlinedâ:
â Ticket/Elements/ShowTransactionAttachments.org 2010-11-04
12:18:01.141242000 +0100
+++ Ticket/Elements/ShowTransactionAttachments 2010-11-04
12:18:16.057536000 +0100
@@ -154,7 +154,11 @@
# If itâs text
if ( $message->ContentType =~ m{^(text|message)}i ) {
my $max_size = RT->Config->Get( âMaxInlineBodyâ,
$session{âCurrentUserâ} );
-
if ( $message->Filename &&
RT->Config->Get(âSuppressInlineTextFilesâ, $session{âCurrentUserâ} ) )
{
-
if ( $disposition ne 'inline' ) {
-
$m->out('<p>'. loc( 'Message body is not shown because
sender requested not to inline it.â ) .â
â);-
return;
-
}
-
elsif ( $message->Filename &&
RT->Config->Get(âSuppressInlineTextFilesâ, $session{âCurrentUserâ} ) )
{
$m->out(â
â. loc( âText file is not shown because it is
disabled in preferences.â ) .â
return;
}
@@ -162,10 +166,6 @@
$m->out(â
â. loc( âMessage body not shown because it is
too large.â ) .â
return;
}
-
elsif ( $disposition ne 'inline' ) {
-
$m->out('<p>'. loc( 'Message body is not shown because
sender requested not to inline it.â ) .â
â);-
return;
-
} if (