소스 검색

replacing urlencode with rawurlencode. It is possible that I've missed space
encoding as plus issue when I've tested IE or older php versions does not have
such behaviour. Should fix bug #1076733.

tokul 20 년 전
부모
커밋
0798207ff3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      functions/mime.php

+ 1 - 1
functions/mime.php

@@ -2017,7 +2017,7 @@ function magicHTML($body, $id, $message, $mailbox = 'INBOX') {
      // version
      //set all the Cache Control Headers for IE
      if ($isIE) {
-         $filename=urlencode($filename);
+         $filename=rawurlencode($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);