coolify
coolify copied to clipboard
[Bug]: Env string variables containing a double ($$) gets one $ removed
Description
When an env variable is defined as a string and it contains two $ (like "@_String$$"), one of the $ will get removed at run time.
Minimal Reproduction (if possible, example repository)
Steps to reproduce:
- Define an env variable as something like : String$$
- Deploy (in my case a JS app using process.env)
- Log => The variable now has only one "$", for example: String$
Exception or Error
No response
Version
v4.0.0-beta.258
The upcoming version will address this issue by introducing a new variable option called 'Is Literal?'.
This option will allow the $ sign to be escaped, ensuring that it is used literally even if it appears in the values with some characters after it by default, as explained here.