From 242dca7365b95ecabee1e8366fafbdd2d459028c Mon Sep 17 00:00:00 2001 From: mdipierro Date: Thu, 13 Dec 2012 11:10:59 -0600 Subject: [PATCH] allow web shell working when https is required --- VERSION | 2 +- applications/admin/controllers/shell.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 0b8f6939..121dfa00 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.3.0 (2012-12-13 08:21:23) rc1 +Version 2.3.0 (2012-12-13 11:10:15) rc1 diff --git a/applications/admin/controllers/shell.py b/applications/admin/controllers/shell.py index 1abc0f72..6d394861 100644 --- a/applications/admin/controllers/shell.py +++ b/applications/admin/controllers/shell.py @@ -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)