Skip to content

Conversation

@gramosg
Copy link

@gramosg gramosg commented May 8, 2020

This commit sanitizes the values of the env_file. Currently the values are source'd as they are, causing out to crash with certain envvar values (e.g., those containing double quotes, which is what happened to me), and even allowing arbitrary code injection. This PR should protect against all dangerous escape characters in Bash (", \, <backtick>, $).

Thanks and keep up the good work!

@bgandon bgandon force-pushed the master branch 2 times, most recently from bad41f3 to edd15a5 Compare February 5, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants