From a9cc52b1634ab42d6d2c226412d477ef18b6e34f Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 7 Nov 2007 07:34:22 +0000 Subject: Correctly decode attachments when downloading them (fixes #1484645) --- program/steps/mail/get.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/get.inc') diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc index 880baa38b..c9e40ac77 100644 --- a/program/steps/mail/get.inc +++ b/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