Mercurial > public > src > rhodecode
diff pylons_app/lib/simplehg.py @ 203:be6d8aaddbd1
dirty fix for https working.
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sat, 22 May 2010 22:40:12 +0200 |
parents | da59b7e07e3c |
children |
line wrap: on
line diff
--- a/pylons_app/lib/simplehg.py Sat May 22 20:51:54 2010 +0200 +++ b/pylons_app/lib/simplehg.py Sat May 22 22:40:12 2010 +0200 @@ -34,6 +34,8 @@ self.authenticate = AuthBasicAuthenticator(realm, authfunc) def __call__(self, environ, start_response): + #dirty fix for https + environ['wsgi.url_scheme'] = 'https' if not is_mercurial(environ): return self.application(environ, start_response) else: