Allow case insensitive env var lookup on *nix

Description

Both of these work on Windows:

but only the upper case version works on Linux because of how

behaves behind the scenes on different operating systems. Put in a fallback when the original case isn't found to loop over all the keys and do a case insensitive search.

A real life example of this biting people recently is setting the CFCONFIGFILE env var in a docker container and it gets ignored because CommandBox will only look for cfconfigfile!

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created November 10, 2021 at 5:11 PM
Updated November 10, 2021 at 5:28 PM
Resolved November 10, 2021 at 5:12 PM