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

Kamal env push escapes new line characters in json env var #965

Open
AlfonsoUceda opened this issue Sep 23, 2024 · 0 comments
Open

Kamal env push escapes new line characters in json env var #965

AlfonsoUceda opened this issue Sep 23, 2024 · 0 comments

Comments

@AlfonsoUceda
Copy link

AlfonsoUceda commented Sep 23, 2024

Hi!

I’ve experienced an error when pushing my env file with a json env var.

The problem is that I have a json env var with a key value with new line characters and Kamal::EnvFile escapes them making the value inside the json incorrect.

The example of the json could be a json generated key from Google, where stores a private key with new line characters.

Should this be considered a bug?

cheers

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

1 participant