summaryrefslogtreecommitdiff
path: root/roundcubemail/program
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-05 13:34:07 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-06-05 13:34:07 +0000
commit0adde5b55988c034432848d600314f82d5fb24cf (patch)
tree8668f37b87a60bd5d71f272e467e2eaa47f4f1ab /roundcubemail/program
parentf51a3eb942b9d4c5196319913001131153e5f136 (diff)
- decode message subject for 'save' action (#1485902)
git-svn-id: https://svn.roundcube.net/trunk@2613 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
-rw-r--r--roundcubemail/program/steps/mail/viewsource.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/viewsource.inc b/roundcubemail/program/steps/mail/viewsource.inc
index 16d92c859..a61385df8 100644
--- a/roundcubemail/program/steps/mail/viewsource.inc
+++ b/roundcubemail/program/steps/mail/viewsource.inc
@@ -29,7 +29,7 @@ if ($uid = get_input_value('_uid', RCUBE_INPUT_GET))
header("Content-Type: text/plain; charset={$charset}");
if (!empty($_GET['_save'])) {
- $filename = ($headers->subject ? $headers->subject : 'roundcube') . '.eml';
+ $filename = ($headers->subject ? $IMAP->decode_header($headers->subject) : 'roundcube') . '.eml';
$browser = new rcube_browser;
if ($browser->ie && $browser->ver < 7)