send urlencoded filename to IE
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 27 Aug 2004 11:48:44 +0000 (11:48 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 27 Aug 2004 11:48:44 +0000 (11:48 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7967 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 0c16b0341b23e4bd13b5e0beb64b70613a53caad..5183242bd49f3f271f808b011d6b7a3940a7376d 100644 (file)
@@ -2003,6 +2003,7 @@ function magicHTML($body, $id, $message, $mailbox = 'INBOX') {
      // version
      //set all the Cache Control Headers for IE
      if ($isIE) {
      // version
      //set all the Cache Control Headers for IE
      if ($isIE) {
+         $filename=urlencode($filename);
          header ("Pragma: public");
          header ("Cache-Control: no-store, max-age=0, no-cache, must-revalidate"); # HTTP/1.1
          header ("Cache-Control: post-check=0, pre-check=0", false);
          header ("Pragma: public");
          header ("Cache-Control: no-store, max-age=0, no-cache, must-revalidate"); # HTTP/1.1
          header ("Cache-Control: post-check=0, pre-check=0", false);