Improper escaping of Environment variables generates invalid YAML #7464
Labels
🐞 bug
Something isn't working
👩💻 development-chores
Issues related to project setup in development mode
Describe the bug
Commit 12cb97d introduced quotes around environment variables on database.yml file.
This causes an issue when the credentials themselves have a double quote character (
"
).For instance, consider POSTGRES_PASSWORD to be
abc"123
. This will generate the following invalid YAMLAnd the following error:
To Reproduce
"
Expected behavior
It is expected that environment variables are properly escaped and that their values do not cause issues.
Environment
Docker
Cloud Provider
GCP
Platform
Browser
Operating system
No response
Browser and version
No response
Docker (if applicable)
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: