X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fdownload.php;h=de1c449c7e2bf4d419d534fcba2a30f3f0ca2e61;hb=ae4d36f76ba12b1a47fa8053e29b91c91d6296e7;hp=12e508a449a303dc59aee154d4728c85e6d44a84;hpb=fa7ba04eb8a06761371014e2bd941a0c03a78774;p=squirrelmail.git diff --git a/src/download.php b/src/download.php index 12e508a4..de1c449c 100644 --- a/src/download.php +++ b/src/download.php @@ -3,7 +3,7 @@ /** * download.php * - * Copyright (c) 1999-2004 The SquirrelMail Project Team + * Copyright (c) 1999-2005 The SquirrelMail Project Team * Licensed under the GNU GPL. For full terms see the file COPYING. * * Handles attachment downloads to the users computer. @@ -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 @@ -143,7 +143,7 @@ if (strlen($filename) < 1) { * most likely display the attachment inline inside the browser. * And finally, the third one will be used by default. If it * is displayable (text or html), it will load them up in a text - * viewer (built in to squirrelmail). Otherwise, it sets the + * viewer (built in to SquirrelMail). Otherwise, it sets the * content-type as application/octet-stream */ if (isset($absolute_dl) && $absolute_dl) { @@ -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