From 765470dbd66ac6e2d3a369db8bb0bcd0145ee797 Mon Sep 17 00:00:00 2001 From: cigamit Date: Sun, 22 Aug 2004 01:02:53 +0000 Subject: [PATCH] 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 --- src/download.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.25.1