~olly/yoyo#66: 
postgresql passwords with special characters

If I have a database like:

database = "postgresql://foo@something.postgres.database.azure.com:g1Q&8&abcd%EnhWw@something.postgres.database.azure.com/mydb"

Then I get an error around the % sign in the password. Is there a way around this?

Status
REPORTED
Submitter
~ashic
Assigned to
No-one
Submitted
3 years ago
Updated
3 years ago
Labels
No labels applied.

~olly 3 years ago

If you double up the percent sign (%%) I think it should work. Let me know if that fixes the issue and I'll update the docs.

Register here or Log in to comment, or comment via email.