admin: use copy for environ api
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
494af0a430
commit
9733caf3b7
|
@ -45,7 +45,7 @@ class SystemSerializer(PassiveSerializer):
|
|||
|
||||
def get_env(self, request: Request) -> dict[str, str]:
|
||||
"""Get Environment"""
|
||||
return os.environ
|
||||
return os.environ.copy()
|
||||
|
||||
def get_http_headers(self, request: Request) -> dict[str, str]:
|
||||
"""Get HTTP Request headers"""
|
||||
|
|
Reference in New Issue