mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-14 13:33:00 +00:00
pop environment variables in subprocess
avoid kernel processes inheriting server security values
This commit is contained in:
@@ -39,7 +39,7 @@ class Spawner(LoggingConfigurable):
|
||||
hub = Any()
|
||||
api_token = Unicode()
|
||||
|
||||
env_prefix = Unicode('IPY_')
|
||||
env_prefix = Unicode('JPY_')
|
||||
def _env_key(self, d, key, value):
|
||||
d['%s%s' % (self.env_prefix, key)] = value
|
||||
|
||||
|
Reference in New Issue
Block a user