[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.13-151-g1f5be1a

Thomas Sibley trs at bestpractical.com
Thu Jul 11 17:58:13 EDT 2013


The branch, 4.0-trunk has been updated
       via  1f5be1a0a149bfaa0eeafe14e92b3757a886aaa0 (commit)
      from  805834eada398c8e50a455b2765473af498e6a98 (commit)

Summary of changes:
 lib/RT/Record.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit 1f5be1a0a149bfaa0eeafe14e92b3757a886aaa0
Author: David Good <dgood at willingminds.com>
Date:   Thu Jul 11 14:16:24 2013 -0700

    Correct backwards MIME type when recording dropped long attachments
    
    Resolves [rt3 #25082].

diff --git a/lib/RT/Record.pm b/lib/RT/Record.pm
index 9e44639..5b14fd7 100644
--- a/lib/RT/Record.pm
+++ b/lib/RT/Record.pm
@@ -783,7 +783,7 @@ sub _EncodeLOB {
                                    . length($Body));
                 $RT::Logger->info( "It started: " . substr( $Body, 0, 60 ) );
                 $Filename .= ".txt" if $Filename;
-                return ("none", "Large attachment dropped", "plain/text", $Filename );
+                return ("none", "Large attachment dropped", "text/plain", $Filename );
             }
         }
 

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


More information about the Rt-commit mailing list