summaryrefslogtreecommitdiff
path: root/program/steps/mail/get.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-11-18 15:32:20 +0000
committerthomascube <thomas@roundcube.net>2005-11-18 15:32:20 +0000
commit4b0f65a597c8339b513bc44e16a95f3803c26369 (patch)
tree7a31af7e9ccd4d87f98853ad09447f6d25a8eba8 /program/steps/mail/get.inc
parent0cbc094164c8a0fa3543e07105e06c129f679805 (diff)
Fixed minor bugs
Diffstat (limited to 'program/steps/mail/get.inc')
-rw-r--r--program/steps/mail/get.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/program/steps/mail/get.inc b/program/steps/mail/get.inc
index 9a86177aa..fc6d99d07 100644
--- a/program/steps/mail/get.inc
+++ b/program/steps/mail/get.inc
@@ -99,6 +99,13 @@ else if ($_GET['_part'])
header(sprintf('Content-Length: %d', strlen($cont)));
+ // We need to set the following headers to make downloads work using IE in HTTPS mode.
+ if (isset($_SERVER['HTTPS']))
+ {
+ header('Pragma: ');
+ header('Cache-Control: ');
+ }
+
// deliver part content
echo $cont;
exit;