DISCOURSE_SMTP_PASSWORD change failed

It’s a bug/limitation in ./discourse-setup. It doesn’t properly escape passwords before asking sed to do the replacement.

One solution would be to check the password for a set of delimiters before doing the replacement and then choose the replacement delimiter accordingly.

Another would be to check for a slash in the password and punt, then tell them to change the password or edit app.yml by hand.

I’ll add this to my TODO list of improvements to discourse-setup.

Oh. I was wrong.

I’ll add putting quotes around the password in samples/standalone.yml to my list as well. :wink: I’ve got a couple other yml updates I have been wanting to do as well.