From: cigamit Date: Sun, 22 Aug 2004 01:02:53 +0000 (+0000) Subject: Fix for bug # 1008534 (Attachments with spaces being converted to ) X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=765470dbd66ac6e2d3a369db8bb0bcd0145ee797;p=squirrelmail.git Fix for bug # 1008534 (Attachments with spaces being converted to ) I don't believe this will have any other ramifications as I wouldn't expect filenames to contain HTML Entities. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7945 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/download.php b/src/download.php index bf680771..b6eafe32 100644 --- a/src/download.php +++ b/src/download.php @@ -108,7 +108,7 @@ if (is_object($message->header->disposition)) { $filename = $header->getParameter('name'); } -$filename = decodeHeader($filename,true,true); +$filename = decodeHeader($filename,true,false); $filename = charset_encode($filename,$default_charset,false); // If name is not set, use subject of email