Closed Payetus closed 4 years ago
according to PHP docs, $_SERVER['HTTPS']
does not necessarily have to be set to "on" for it to be an HTTPS request:
http://php.net/manual/en/reserved.variables.server.php
From what I understand, as long as server[https] is not empty and not set to "off", then that's an https request. Are you using IIS by any chance?
Yes, using IIS 8. The $_SERVER['HTTPS'] is set to off (and obviously not empty ) on http requests. Would you attribute this to an IIS bug?
it's been changed to this now:
This commit should fix issue #108