From 1034b0835218382a2c1ebe73f0a865da9087d040 Mon Sep 17 00:00:00 2001 From: Dariusz Suchojad Date: Sat, 30 Sep 2023 12:29:12 +0200 Subject: [PATCH] GH #755 - Do not uppercase the names of environment variables. --- code/zato-common/src/zato/common/ext/configobj_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/zato-common/src/zato/common/ext/configobj_.py b/code/zato-common/src/zato/common/ext/configobj_.py index e49eb17b52..1d24d8a3e2 100644 --- a/code/zato-common/src/zato/common/ext/configobj_.py +++ b/code/zato-common/src/zato/common/ext/configobj_.py @@ -1685,7 +1685,7 @@ def _parse(self, infile): # .. but not if it's just a $ sign or an actual variable starting with it. if not (len(value) == 1 or value.startswith('$$')): - env_key_name = value[1:].upper() + env_key_name = value[1:] try: value = os.environ[env_key_name] except KeyError: