Explorar o código

send urlencoded filename to IE

tokul %!s(int64=21) %!d(string=hai) anos
pai
achega
f63814f9d2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);