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

bug: eliminating any combinations of $1 or $2 from any environment variables on retrieve. #10

Closed
stevehebert opened this issue Dec 4, 2020 · 1 comment

Comments

@stevehebert
Copy link

Getting live environment variables that contain a $1 or $2 in a legitimate string is dropped from the variable

This combination can happen in a legitimate environment variable (like a password)

The line that causes the drop is here

val = rq.ReplaceAllString(val, "$2")

Trying to understand why this would be getting dropped in this way.

@stevehebert stevehebert changed the title GotEnv bug: eliminating any combinations of $1 or $2 from any environment variables on retrieve. Dec 4, 2020
@luisdavim
Copy link
Collaborator

#16 should fix this as long as you use single quotes

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

No branches or pull requests

2 participants