Req #55403 [PATCH]: $_SERVER['HTTPS'] should be undefined on unsecure connection
| From: | thetaphi@php.net | Date: | Thu, 11 Aug 2011 17:21:50 +0000 |
| Subject: | Req #55403 [PATCH]: $_SERVER['HTTPS'] should be undefined on unsecure connection | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-162520@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55403&edit=1
ID: 55403
Patch added by: thetaphi@php.net
Reported by: thetaphi@php.net
Summary: $_SERVER['HTTPS'] should be undefined on unsecure
connection
Status: Open
Type: Feature/Change Request
Package: iPlanet related
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
The following patch has been added/updated:
Patch Name: PatchForTrunk.patch
Revision: 1313083309
URL: https://bugs.php.net/patch-display.php?bug=55403&patch=PatchForTrunk.patch&revision=1313083309
Previous Comments:
------------------------------------------------------------------------
[2011-08-11 17:19:25] 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,...).
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=55403&edit=1