[Svn] r2575 - trunk/roundcubemail/program/steps/mail

trac at roundcube.net trac at roundcube.net
Sat May 30 13:50:28 CEST 2009


Author: alec
Date: 2009-05-30 06:50:28 -0500 (Sat, 30 May 2009)
New Revision: 2575

Modified:
   trunk/roundcubemail/program/steps/mail/viewsource.inc
Log:
- set content-length when saving message source


Modified: trunk/roundcubemail/program/steps/mail/viewsource.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/viewsource.inc	2009-05-30 09:09:57 UTC (rev 2574)
+++ trunk/roundcubemail/program/steps/mail/viewsource.inc	2009-05-30 11:50:28 UTC (rev 2575)
@@ -37,7 +37,8 @@
       $filename = rawurlencode($filename);
     else
       $filename = addcslashes($filename, '"');
-      
+
+    header("Content-Length: {$headers->size}");
     header("Content-Disposition: attachment; filename=\"$filename\"");
   }
   

_______________________________________________
http://lists.roundcube.net/mailman/listinfo/svn



More information about the Svn mailing list