[Svn] r2177 - in trunk/roundcubemail: . program/steps/mail

trac at roundcube.net trac at roundcube.net
Thu Dec 18 18:57:49 CET 2008


Author: thomasb
Date: 2008-12-18 11:57:49 -0600 (Thu, 18 Dec 2008)
New Revision: 2177

Modified:
   trunk/roundcubemail/CHANGELOG
   trunk/roundcubemail/program/steps/mail/get.inc
Log:
Only abbreviate attachment file names in MSIE < 7

Modified: trunk/roundcubemail/CHANGELOG
===================================================================
--- trunk/roundcubemail/CHANGELOG	2008-12-18 17:56:50 UTC (rev 2176)
+++ trunk/roundcubemail/CHANGELOG	2008-12-18 17:57:49 UTC (rev 2177)
@@ -1,6 +1,12 @@
 CHANGELOG RoundCube Webmail
 ---------------------------
 
+2008/12/18 (thomasb)
+----------
+- Only abbreviate attachment file names in MSIE < 7
+- Fix autocomplete "unknown server error" (#1485637)
+- Optimize autocomplete search and output
+
 2008/12/18 (alec)
 ----------
 - Fix STARTTLS before AUTH in SMTP connection (#1484883)

Modified: trunk/roundcubemail/program/steps/mail/get.inc
===================================================================
--- trunk/roundcubemail/program/steps/mail/get.inc	2008-12-18 17:56:50 UTC (rev 2176)
+++ trunk/roundcubemail/program/steps/mail/get.inc	2008-12-18 17:57:49 UTC (rev 2177)
@@ -89,7 +89,7 @@
       }
       
       $filename = $part->filename ? $part->filename : ($MESSAGE->subject ? $MESSAGE->subject : 'roundcube') . '.'.$ctype_secondary;
-      $filename = $browser->ie ? rawurlencode(abbreviate_string($filename, 55)) : addcslashes($filename, '"');
+      $filename = ($browser->ie && $browser->ver < 7) ? rawurlencode(abbreviate_string($filename, 55)) : addcslashes($filename, '"');
       $disposition = !empty($_GET['_download']) ? 'attachment' : 'inline';
       
       header("Content-Disposition: $disposition; filename=\"$filename\"");

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



More information about the Svn mailing list