Skip to content

Commit

Permalink
GH #755 - Do not uppercase the names of environment variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
dsuch committed Sep 30, 2023
1 parent 24b46f5 commit 1034b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/zato-common/src/zato/common/ext/configobj_.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1034b08

Please sign in to comment.