-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
String escape problem #486
Comments
I tried Dockge and ran straight into this problem. All quotes seem to get removed when it (re-)loads the docker-compose file into its editor. Sadly, this makes it completely unusable for any of our normal stacks. I wonder if we do something wrong, because I doubt that something basic like this is not implemented correctly? Edit: I solved my problem by creating the strings using the I want to add that I think one can also escape them by using |
🛡️ Security Policy
Description
I have migrated from one server to another, the old one was portainer and I thought I may as well use dockge because it doesn't hijack all my data
on the old server, I had a WordPress site with a db password that has a $ in the env on portainer
When I created the stack I noticed the $ seems to have highlighted differently so I enclosed it in double quotes
I don't know where the bug is because the stack looks ok.. there definitely is a problem with the GUI stripping out the quotes
the fix for me was to remove the $ from the password. this is not ideal as it is a security issue
👟 Reproduction steps
👀 Expected behavior
😓 Actual Behavior
Dockge Version
latest
💻 Operating System and Arch
debian
🌐 Browser
edge
🐋 Docker Version
latest
🟩 NodeJS Version
No response
📝 Relevant log output
No response
The text was updated successfully, but these errors were encountered: