You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Variables like POSTGRES_PASSWORD may contain ' or $, which will cause bash to intercept them and open the door to errors. This is an injection problem, yes, but it's also just a convenience problem. Lots of secure (randomly generated) passphrases use quotes and dollar signs.
database_1 | 2018-08-23 20:20:50.925 UTC [66] ERROR: unrecognized role option "fun" at character 52
database_1 | 2018-08-23 20:20:50.925 UTC [66] STATEMENT: CREATE USER "zulip" WITH SUPERUSER PASSWORD 'zulip'fun' ;
database_1 | ERROR: unrecognized role option "fun"
database_1 | LINE 1: CREATE USER "zulip" WITH SUPERUSER PASSWORD 'zulip'fun' ;
database_1 | ^
I thought this would have a similarly sad ending like that discussion, but it turns out that psql has functionality which makes this really trivial for us to implement!
Variables like
POSTGRES_PASSWORD
may contain'
or$
, which will cause bash to intercept them and open the door to errors. This is an injection problem, yes, but it's also just a convenience problem. Lots of secure (randomly generated) passphrases use quotes and dollar signs.This issue originally comes from zulip/docker-zulip#143 (comment)
The text was updated successfully, but these errors were encountered: