Closed kpldvnpne closed 2 years ago
When I try to do:
tbls doc postgres://user:pass#word@host:5432/dbname
tbls seems to think that user is host and pass is port. Then, it fails saying pass is not a valid port.
tbls
user
pass
I expected it to treat user as user and pass#word as password. And then I expected it to create the document properly.
pass#word
parse "postgres://user:pass": invalid port ":pass" after host
No
tbls version
Amazon Linux 2
bash
DEBUG=1
Hi.
If you are using a symbol such as # < in database password, URL-encode the password.
#
<
ref: https://github.com/k1LoW/tbls#document-a-database
Thanks. Stupid of me to not notice it in the README. I will close the thread
Thanks for using tbls!
What happened
When I try to do:
tbls
seems to think thatuser
is host andpass
is port. Then, it fails sayingpass
is not a valid port.What you expected to happened
I expected it to treat
user
as user andpass#word
as password. And then I expected it to create the document properly.What stack trace or error message from tbls did you see?
Anything else we need to know?
No
Environment
tbls version
: 1.55.1Amazon Linux 2
bash
DEBUG=1
):parse "postgres://user:pass": invalid port ":pass" after host