Changeset 3828 in subversion


Ignore:
Timestamp:
Jul 26, 2010 4:54:03 AM (3 years ago)
Author:
alec
Message:
  • Support HTTP_X_FORWARDED_PROTO header for HTTPS detecting (#1486866)
Location:
trunk/roundcubemail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/CHANGELOG

    r3819 r3828  
    22=========================== 
    33 
     4- Support HTTP_X_FORWARDED_PROTO header for HTTPS detecting (#1486866) 
    45- Fix default IMAP port configuration (#1486864) 
    56- Create Sent folder when starting to compose a new message (#1486802) 
  • trunk/roundcubemail/program/include/main.inc

    r3780 r3828  
    15261526{ 
    15271527  global $RCMAIL; 
    1528    
     1528 
    15291529  if (!empty($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) != 'off') 
     1530    return true; 
     1531  if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') 
    15301532    return true; 
    15311533  if ($port && $_SERVER['SERVER_PORT'] == $port) 
Note: See TracChangeset for help on using the changeset viewer.