From 4b0f65a597c8339b513bc44e16a95f3803c26369 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 18 Nov 2005 15:32:20 +0000 Subject: Fixed minor bugs --- program/steps/mail/get.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'program/steps/mail/get.inc') 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; -- cgit v1.2.3