Changeset 161c28d in github
- Timestamp:
- Sep 5, 2009 8:31:19 AM (4 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- e077870a
- Parents:
- 7df0e35
- Files:
-
- 5 edited
-
CHANGELOG (modified) (1 diff)
-
index.php (modified) (1 diff)
-
program/include/rcube_shared.inc (modified) (1 diff)
-
program/lib/imap.inc (modified) (1 diff)
-
program/steps/mail/rss.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r7df0e35 r161c28d 2 2 =========================== 3 3 4 - Fix wrong headers for IE on servers without $_SERVER['HTTPS'] (#1485926) 5 - Force IE style headers for attachments in non-HTTPS session, 'use_https' option (#1485655) 4 6 - Check 'post_max_size' for upload max filesize (#1486089) 5 7 - Password Plugin: Fix %d inserts username instead of domain (#1486088) -
index.php
r7ef47e5 r161c28d 65 65 66 66 // check if https is required (for login) and redirect if necessary 67 if ($RCMAIL->config->get('force_https', false) && empty($_SESSION['user_id']) && !(isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443)) { 67 if ($RCMAIL->config->get('force_https', false) && empty($_SESSION['user_id']) 68 && !(isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443 || $RCMAIL->config->get('use_https'))) { 68 69 header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); 69 70 exit; -
program/include/rcube_shared.inc
r8f6a466 r161c28d 42 42 43 43 // We need to set the following headers to make downloads work using IE in HTTPS mode. 44 if (isset($_SERVER['HTTPS']) ) {44 if (isset($_SERVER['HTTPS']) || rcmail::get_instance()->config->get('use_https')) { 45 45 header('Pragma: '); 46 46 header('Cache-Control: '); -
program/lib/imap.inc
r172552a r161c28d 621 621 622 622 stream_set_timeout($conn->fp, 10); 623 $line = stream_get_line($conn->fp, 8192, "\ r\n");623 $line = stream_get_line($conn->fp, 8192, "\n"); 624 624 625 625 if ($my_prefs['debug_mode'] && $line) -
program/steps/mail/rss.inc
recb9fb0 r161c28d 31 31 32 32 $webmail_url = 'http'; 33 if (strstr('HTTPS', $_SERVER['SERVER_PROTOCOL'] )!== FALSE )33 if (strstr('HTTPS', $_SERVER['SERVER_PROTOCOL'] )!== FALSE || $RCMAIL->config->get('use_https')) 34 34 $webmail_url .= 's'; 35 35 $webmail_url .= '://'.$_SERVER['SERVER_NAME'];
Note: See TracChangeset
for help on using the changeset viewer.
