Small bug fix
[squirrelmail.git] / src / download.php
index 12e508a449a303dc59aee154d4728c85e6d44a84..b6eafe32c6dff6a5729f88e21a13bc993c69aa46 100644 (file)
@@ -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
@@ -156,4 +156,4 @@ if (isset($absolute_dl) && $absolute_dl) {
 mime_print_body_lines ($imapConnection, $passed_id, $ent_id, $encoding);
 $mailbox_cache[$aMailbox['NAME']] = $aMailbox;
 sqsession_register($mailbox_cache,'mailbox_cache');
-?>
+?>
\ No newline at end of file