summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-08-28 11:11:32 +0000
committeralecpl <alec@alec.pl>2009-08-28 11:11:32 +0000
commit3e8b11194d741fb1221ef143cf96685e76086d10 (patch)
tree3b9d3e50d22016d78a96f4287b7cdd6594773883 /program
parentf8a846c58997da50cb1737569d4c0d01f83b17d5 (diff)
- Fix charset bug during loading attachment file (#1486064)
Diffstat (limited to 'program')
-rw-r--r--program/steps/mail/get.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index f86c152c6..47dbc5f9c 100644
--- a/program/steps/mail/get.inc
+++ b/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;
}