mercurial/hgweb/wsgicgi.py
changeset 4869 be591b740e0f
parent 4484 7605da1c3b5c
child 5577 e0173902c813
--- a/mercurial/hgweb/wsgicgi.py	Wed Jul 11 20:15:03 2007 -0300
+++ b/mercurial/hgweb/wsgicgi.py	Thu Jul 12 13:55:20 2007 -0600
@@ -23,7 +23,7 @@
     environ['wsgi.multiprocess'] = True
     environ['wsgi.run_once'] = True
 
-    if environ.get('HTTPS','off') in ('on','1'):
+    if environ.get('HTTPS','off').lower() in ('on','1','yes'):
         environ['wsgi.url_scheme'] = 'https'
     else:
         environ['wsgi.url_scheme'] = 'http'