浏览代码

send urlencoded filename to IE

tokul 21 年之前
父节点
当前提交
f63814f9d2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      functions/mime.php

+ 1 - 0
functions/mime.php

@@ -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);