Minor cleanup
[squirrelmail.git] / 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) {
+         $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);