From 161c28dffcab78da00b6b80693ef9423c4258248 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 05 Sep 2009 08:31:19 -0400 Subject: [PATCH] - Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926) - Force IE style headers for attachments in non-HTTPS session, 'use_https' option (#1485655) --- program/include/rcube_shared.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 91db380..85a6105 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -41,7 +41,7 @@ header("Pragma: no-cache"); // We need to set the following headers to make downloads work using IE in HTTPS mode. - if (isset($_SERVER['HTTPS'])) { + if (isset($_SERVER['HTTPS']) || rcmail::get_instance()->config->get('use_https')) { header('Pragma: '); header('Cache-Control: '); } -- Gitblit v1.9.1