changeset 4392:bf543d0796c8

https detection: fix bug in changeset 3e019f6ae381
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 11 Oct 2008 22:04:06 +0200
parents 3e019f6ae381
children 911cb338943e
files MoinMoin/request/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/request/__init__.py	Sat Oct 11 14:46:12 2008 +0200
+++ b/MoinMoin/request/__init__.py	Sat Oct 11 22:04:06 2008 +0200
@@ -452,7 +452,7 @@
         """
         self.is_ssl = bool(env.get('SSL_PROTOCOL') or
                            env.get('SSL_PROTOCOL_VERSION') or
-                           env.get('HTTPS').lower() in ('on', '1') or
+                           env.get('HTTPS', 'off').lower() in ('on', '1') or
                            env.get('wsgi.url_scheme') == 'https')
 
     def setHost(self, host=None):