[zope2-tracker] [Bug 950689] Re: HTTPS requests are not detected if running under mod_wsgi

stephan_hofmockel 950689 at bugs.launchpad.net
Fri Mar 9 10:28:54 UTC 2012


I changed at my installation the following at HTTPRequest.py and it works
@@ -384,7 +387,7 @@
             other['SERVER_URL'] = server_url = server_url.strip()
         else:
             if 'HTTPS' in environ and (
-                environ['HTTPS'] == "on" or environ['HTTPS'] == "ON"):
+                environ['HTTPS'] == "on" or environ['HTTPS'] == "ON" or environ['HTTPS'] == '1'):
                 protocol = 'https'
             elif ('SERVER_PORT_SECURE' in environ and
                 environ['SERVER_PORT_SECURE'] == "1"):

-- 
You received this bug notification because you are a member of Zope 2
Developers, which is subscribed to Zope 2.
https://bugs.launchpad.net/bugs/950689

Title:
  HTTPS requests are not detected if running under mod_wsgi

To manage notifications about this bug go to:
https://bugs.launchpad.net/zope2/+bug/950689/+subscriptions


More information about the zope2-tracker mailing list