diff options
| author | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-11-18 15:32:20 +0000 |
|---|---|---|
| committer | roundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2005-11-18 15:32:20 +0000 |
| commit | 6fc55664818d6dc30f115c21a34b2a699eaa3a7d (patch) | |
| tree | e797a9fddde54c7871714eaf4cc1910dbd3978c8 /roundcubemail/program/steps/mail/get.inc | |
| parent | 0d8a302324a48dfa7fa2451df8acffa962f3e8b8 (diff) | |
Fixed minor bugs
git-svn-id: https://svn.roundcube.net/trunk@85 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/get.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/get.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/get.inc b/roundcubemail/program/steps/mail/get.inc index 9a86177aa..fc6d99d07 100644 --- a/roundcubemail/program/steps/mail/get.inc +++ b/roundcubemail/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; |
