Skip to content
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

Special characters in password #28

Open
spance opened this issue Jul 20, 2023 · 2 comments
Open

Special characters in password #28

spance opened this issue Jul 20, 2023 · 2 comments

Comments

@spance
Copy link

spance commented Jul 20, 2023

In the .usqlpass format, If there are colon characters or pound characters in the password, the parsing module will get the wrong password, and then it will fail to connect.

@spance
Copy link
Author

spance commented Jul 20, 2023

e.g.

# format is:
# protocol:host:port:dbname:user:pass
postgres:localhost:3306:db1:user:password_prefix:#password_suffix

@kenshaw
Copy link
Member

kenshaw commented Sep 5, 2023

@spance you would need to use URL encoding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants