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 0c16b03..5183242 100644 (file)
@@ -2003,6 +2003,7 @@ function magicHTML($body, $id, $message, $mailbox = 'INBOX') {
      // 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);