-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'@' in password #52
Comments
That's most definitely a bug. I wonder how psql handles this. In the meantime you can try using the command line switches to prompt for the password instead of using the postgres:// style url.
Launching that way will prompt for the password. |
Have you tried URL-escaping the |
Have you tried with the latest pgcli? I successfully connected using a role with an '@' character using pgcli 0.16.0 against a 9.4 server:
|
Previously I was using my own custom built parsing routine for extracting the password and username from the postgres url. I've replaced that routine with Thanks @drocco007 for testing it. I'll close the issue. |
The issue seems to persist/have returned: pgcli postgres://atpw:@at@localhost:5432/atdb
could not translate host name "at@localhost" to address: nodename nor servname provided, or not known A workaround is to escape the pgcli postgres://atpw:"$(echo '@at'|sed -e s/@/\%40/g)"@localhost:5432/atdb
|
@catando What is your |
for |
@przdev A note in readme would be good, or better yet, in the docs on the https://github.com/dbcli/pgcli.com/blob/master/content/pages/3.docs.md |
I have an '@' symbol in a password. I tried escaping it with '@' but this also didn't work.
The text was updated successfully, but these errors were encountered: