- 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)
| | |
| | | CHANGELOG RoundCube Webmail |
| | | =========================== |
| | | |
| | | - 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) |
| | | - Check 'post_max_size' for upload max filesize (#1486089) |
| | | - Password Plugin: Fix %d inserts username instead of domain (#1486088) |
| | | - Fix rcube_mdb2::affected_rows() (#1486082) |
| | |
| | | } |
| | | |
| | | // check if https is required (for login) and redirect if necessary |
| | | if ($RCMAIL->config->get('force_https', false) && empty($_SESSION['user_id']) && !(isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443)) { |
| | | if ($RCMAIL->config->get('force_https', false) && empty($_SESSION['user_id']) |
| | | && !(isset($_SERVER['HTTPS']) || $_SERVER['SERVER_PORT'] == 443 || $RCMAIL->config->get('use_https'))) { |
| | | header('Location: https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); |
| | | exit; |
| | | } |
| | |
| | | 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: '); |
| | | } |
| | |
| | | } |
| | | |
| | | stream_set_timeout($conn->fp, 10); |
| | | $line = stream_get_line($conn->fp, 8192, "\r\n"); |
| | | $line = stream_get_line($conn->fp, 8192, "\n"); |
| | | |
| | | if ($my_prefs['debug_mode'] && $line) |
| | | write_log('imap', 'S: '. $line); |
| | |
| | | $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') |