A clear and concise description of what the bug is.
The $ in Environment Variables becomes doubled,every time you save setting
Steps to reproduce the behavior:
eg: depoly ghcr.io/wg-easy/wg-easy
1.set it on webui like below:
PASSWORD_HASH=$2a$12$zBIMbL5/axcluAruNwKziuRCvJCVeh0xrKB1wT7qEoOH95g2L2p4G
2.save setting. casaos will auto fix $ to $$ . it's good。 like this
3.save again,$$ was auto change to $$$$ it will be like this
Expected behavior
$ should not be double again when user save it again
I think the webui should only save that what user input .
When the user saves, the program generates app.yaml based on the user's input
update
set Value with " that is no use. casaos will auto remove " and change $$ to $$$$ when i save it
it's no use
Describe the bug
The
$
in Environment Variables becomes doubled,every time you save settingeg: depoly
ghcr.io/wg-easy/wg-easy
1.set it on webui like below:PASSWORD_HASH=$2a$12$zBIMbL5/axcluAruNwKziuRCvJCVeh0xrKB1wT7qEoOH95g2L2p4G
2.save setting. casaos will auto fix$
to$$
. it's good。 like this 3.save again,$$
was auto change to$$$$
it will be like this$ should not be double again when user save it again
I think the webui should only save that what user input .
When the user saves, the program generates
app.yaml
based on the user's inputset Value with
"
that is no use. casaos will auto remove"
and change $$ to $$$$ when i save it it's no use