allow web shell working when https is required
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.3.0 (2012-12-13 08:21:23) rc1
|
||||
Version 2.3.0 (2012-12-13 11:10:15) rc1
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user