allow web shell working when https is required

This commit is contained in:
mdipierro
2012-12-13 11:10:59 -06:00
parent 5ddd7f0a6f
commit 242dca7365
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.3.0 (2012-12-13 08:21:23) rc1
Version 2.3.0 (2012-12-13 11:10:15) rc1
+1 -1
View File
@@ -35,7 +35,7 @@ def callback():
except ValueError:
return ''
session['commands:' + app].append(command)
environ = env(app, True)
environ = env(app, True, extra_request=dict(is_https=request.is_https))
output = gluon.contrib.shell.run(history, command, environ)
k = len(session['commands:' + app]) - 1
#output = PRE(output)