From 16480e230636bdb794b6ef535b6537ee32c545c1 Mon Sep 17 00:00:00 2001 From: tokul Date: Sun, 9 Jan 2005 17:01:42 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8615 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index a2ff7c18..09fc552c 100644 --- a/functions/mime.php +++ b/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); -- 2.25.1