summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-08-28 11:11:32 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2009-08-28 11:11:32 +0000
commita2f8e49c751312f6b15e9a0d8aa562c2e1a4dc9e (patch)
tree081108a5f1e58fa5566eb5c2e17aea9c5be55502
parentad47ea0044c88feeaa9c89199930a93874efcecb (diff)
- Fix charset bug during loading attachment file (#1486064)
git-svn-id: https://svn.roundcube.net/trunk@2885 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/steps/mail/get.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc
index f86c152c6..47dbc5f9c 100644
--- a/roundcubemail/program/steps/mail/get.inc
+++ b/roundcubemail/program/steps/mail/get.inc
@@ -25,11 +25,11 @@ if (!empty($_GET['_preload'])) {
$url = str_replace('&_preload=1', '', $_SERVER['REQUEST_URI']);
$message = rcube_label('loadingdata');
- print "<html>\n<head>\n" .
- '<meta http-equiv="refresh" content="0; url='.Q($url).'">' .
- "\n</head>\n<body>" .
- $message .
- "\n</body>\n</html>";
+ header('Content-Type: text/html; charset=' . RCMAIL_CHARSET);
+ print "<html>\n<head>\n"
+ . '<meta http-equiv="refresh" content="100; url='.Q($url).'">' . "\n"
+ . '<meta http-equiv="content-type" content="text/html; charset='.RCMAIL_CHARSET.'">' . "\n"
+ . "</head>\n<body>\n$message\n</body>\n</html>";
exit;
}