From 337ca0d3d87827543be1bd72be3c58acaa33bf44 Mon Sep 17 00:00:00 2001 From: thomasb Date: Wed, 7 Nov 2007 07:34:22 +0000 Subject: Correctly decode attachments when downloading them (fixes #1484645) git-svn-id: https://svn.roundcube.net/trunk@912 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/get.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc index 880baa38b..c9e40ac77 100644 --- a/roundcubemail/program/steps/mail/get.inc +++ b/roundcubemail/program/steps/mail/get.inc @@ -111,7 +111,7 @@ else if ($pid = get_input_value('_part', RCUBE_INPUT_GET)) $part->filename ? $part->filename : "roundcube.$ctype_secondary")); // turn off output buffering and print part content - $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part->encoding, true); + $IMAP->get_message_part($MESSAGE['UID'], $part->mime_id, $part, true); } exit; -- cgit v1.2.3