From: Luke E. <lke...@us...> - 2001-04-21 06:23:25
|
Update of /cvsroot/squirrelmail/squirrelmail/src In directory usw-pr-cvs1:/tmp/cvs-serv32459 Modified Files: Tag: sm-1_0 download.php Log Message: changed headers that I forgot to change earlier Index: download.php =================================================================== RCS file: /cvsroot/squirrelmail/squirrelmail/src/download.php,v retrieving revision 1.55.2.7 retrieving revision 1.55.2.8 diff -u -w -r1.55.2.7 -r1.55.2.8 --- download.php 2001/04/19 13:37:25 1.55.2.7 +++ download.php 2001/04/21 06:23:22 1.55.2.8 @@ -117,8 +117,8 @@ $body = mime_fetch_body($imapConnection, $passed_id, $passed_ent_id); $body = decodeBody($body, $header->encoding); set_up_language(getPref($data_dir, $username, "language")); - header("Content-Disposition: attachment; filename=\"$filename\""); - header("Content-type: application/octet-stream; name=\"$filename\""); + header("Content-Disposition: inline; filename=\"$filename\""); + header("Content-type: application/download; name=\"$filename\""); if ($type1 == "plain") { echo _("Subject") . ": " . decodeHeader($top_header->subject) . "\n"; echo " " . _("From") . ": " . decodeHeader($top_header->from) . "\n"; |