Docker Community Forums

Share and learn in the Docker community.

[bug]: UI for updating env vars is inconsistent! Cause broken apps

(Jonas Finnemann Jensen) #1

When updating env vars you can do two things:
A) Use the “Add environment variable” form
B) Click on the existing variable and edit its value

If you have large multiline environment variable values for say SSL certificates, option (A) and (B) doesn’t do the same thing…
I suspect that (B) doesn’t support newline characters but instead insert whitespaces or somethings…

Eitherway, my app broken with invalid key data when someone updated the certificate. I tried fixing it using option (B) but couldn’t, using option (A) worked fine.
This is pretty serious bug, we have other key material that isn’t armored and validated, which could be a lot harder to debug.

Note: A certificate management feature would be nice to have…