$_SERVER['HTTPS'] should be undefined on unsecure connection
| Request #55403 | $_SERVER['HTTPS'] should be undefined on unsecure connection | ||||
|---|---|---|---|---|---|
| Submitted: | 2011-08-11 17:19 UTC | Modified: | 2011-08-18 19:13 UTC | ||
| From: | thetaphi@php.net | Assigned: | thetaphi (profile) | ||
| Status: | Closed | Package: | iPlanet related | ||
| PHP Version: | Irrelevant | OS: | |||
| Private report: | No | CVE-ID: | None | ||
[2011-08-11 17:19 UTC] thetaphi@php.net
Description: ------------ All other SAPIs (Apache, too, of course) only set the $_SERVER['HTTPS'] variable to "ON", if a secure connection is availab.e The key is undefined otherwise. NSAPI on the other hand defines $_SERVER['HTTPS']='OFF' in this case. This breaks apps that just do an isset() test (Drupal,...).
Patches
PatchForTrunk.patch (last revision 2011-08-11 17:21 UTC by thetaphi@php.net)Pull Requests
History
AllCommentsChangesGit/SVN commits
[2011-08-11 17:24 UTC] thetaphi@php.net
[2011-08-11 20:26 UTC] thetaphi@php.net
[2011-08-18 19:13 UTC] thetaphi@php.net