Mantis - Quercus
Viewing Issue Advanced Details
5402 minor always 03-22-13 14:23 03-22-13 14:32
nam  
nam  
normal  
closed  
fixed  
none    
none 4.0.36  
0005402: $_SERVER['HTTP_X_SSL_REQUEST'] is not set for SSL connections
(rep by V. Spivak)


Notes
(0006225)
nam   
03-22-13 14:32   
$_SERVER['HTTP_X_SSL_REQUEST'] is not documented and may appear to be only available in older versions of PHP. On the other hand, Quercus already sets $_SERVER['HTTPS'], which is documented on PHP.net and commonly available in PHP and is what all users should use.

However, for compatibility, I went ahead and added $_SERVER['HTTP_X_SSL_REQUEST'] anyways.