From 161c28dffcab78da00b6b80693ef9423c4258248 Mon Sep 17 00:00:00 2001 From: alecpl Date: Sat, 5 Sep 2009 12:31:19 +0000 Subject: - 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/steps/mail/rss.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') diff --git a/program/steps/mail/rss.inc b/program/steps/mail/rss.inc index 667a3487d..2ebd15c9f 100644 --- a/program/steps/mail/rss.inc +++ b/program/steps/mail/rss.inc @@ -30,7 +30,7 @@ $REMOTE_REQUEST = TRUE; $OUTPUT_TYPE = 'rss'; $webmail_url = 'http'; -if (strstr('HTTPS', $_SERVER['SERVER_PROTOCOL'] )!== FALSE) +if (strstr('HTTPS', $_SERVER['SERVER_PROTOCOL'] )!== FALSE || $RCMAIL->config->get('use_https')) $webmail_url .= 's'; $webmail_url .= '://'.$_SERVER['SERVER_NAME']; if ($_SERVER['SERVER_PORT'] != '80') -- cgit v1.2.3