Skip to content

Commit 9706d12

Browse files
committed
DO NOT LEAK GLOBALS SETTINGS INTO request object
1 parent 7c29993 commit 9706d12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: gluon/globals.py

-2
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def __init__(self, env):
186186
Storage.__init__(self)
187187
self.env = Storage(env)
188188
self.env.web2py_path = global_settings.applications_parent
189-
self.env.update(global_settings)
190189
self.cookies = Cookie.SimpleCookie()
191190
self._get_vars = None
192191
self._post_vars = None
@@ -202,7 +201,6 @@ def __init__(self, env):
202201
self.is_restful = False
203202
self.is_https = False
204203
self.is_local = False
205-
self.global_settings = settings.global_settings
206204
self._uuid = None
207205

208206
def parse_get_vars(self):

0 commit comments

Comments
 (0)