manage https scheme without relying only on wsgi info
This commit is contained in:
1 parent
211462ecbc
commit
33ada924e8
1 file changed
+4
-1
@@ -107,7 +107,10 @@ server for requests. It can be used for the optional"scope" parameters for Face
|
|||||||
if not http_host:
|
if not http_host:
|
||||||
http_host = r.env.http_host
|
http_host = r.env.http_host
|
||||||
|
|
||||||
url_scheme = r.env.wsgi_url_scheme
|
if r.env.https == 'on':
|
||||||
|
url_scheme = 'https'
|
||||||
|
else:
|
||||||
|
url_scheme = r.env.wsgi_url_scheme
|
||||||
if next:
|
if next:
|
||||||
path_info = next
|
path_info = next
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in new issue
Block a user