It was a REEEAALLY good catch :-)
This commit is contained in:
niphlod committed 2015-09-21 22:09:17 +02:00
1 parent 0fa0dbaeea
commit de399691ce
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -370,8 +370,8 @@ def wsgibase(environ, responder):
cid = env.http_web2py_component_element,
is_local = (env.remote_addr in local_hosts and
client == env.remote_addr),
is_shell = cmd_opts and cmd_opts.shell,
is_sheduler = cmd_opts and cmd_opts.scheduler,
is_shell = False,
is_scheduler = False,
is_https = env.wsgi_url_scheme in HTTPS_SCHEMES or \
request.env.http_x_forwarded_proto in HTTPS_SCHEMES \
or env.https == 'on'