Browse Source

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.

Jimmy Conner 21 years ago
parent
commit
80538f830d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/download.php

+ 1 - 1
src/download.php

@@ -108,7 +108,7 @@ if (is_object($message->header->disposition)) {
     $filename = $header->getParameter('name');
     $filename = $header->getParameter('name');
 }
 }
 
 
-$filename = decodeHeader($filename,true,true);
+$filename = decodeHeader($filename,true,false);
 $filename = charset_encode($filename,$default_charset,false);
 $filename = charset_encode($filename,$default_charset,false);
 
 
 // If name is not set, use subject of email
 // If name is not set, use subject of email