Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env: fix environment variable parsing #81

Merged
merged 1 commit into from
Jul 12, 2023
Merged

env: fix environment variable parsing #81

merged 1 commit into from
Jul 12, 2023

Conversation

Snaipe
Copy link
Member

@Snaipe Snaipe commented Jul 6, 2023

Environment variables are fairly free-form; all characters are allowed except for '\0', so FOO-BAR=baz should work.

This leaves callers in a bit of a conundrum if they don't know (and don't particularly trust) program names in advance. To make things safer, and more explicit, a second -- can now be added to the environment variable list.

Environment variables are fairly free-form; all characters are allowed
except for '\0', so FOO-BAR=baz should work.

This leaves callers in a bit of a conundrum if they don't know (and
don't particularly trust) program names in advance. To make things
safer, and more explicit, a second -- can now be added to the
environment variable list.
@Snaipe Snaipe merged commit b23d5e0 into main Jul 12, 2023
6 checks passed
@Snaipe Snaipe deleted the fix/env-parsing branch July 12, 2023 11:48
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