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

Fix connection uri encoding (Issue #399) #497

Merged
merged 1 commit into from
Jan 3, 2023

Conversation

vnava-nsw
Copy link
Contributor

Use decodeURIComponent to decode the user and pass from connection uri.
So that connections to pg work when using uri strings with special characters in user or pass.

Fixes #399

@porsager
Copy link
Owner

porsager commented Jan 3, 2023

Very nice @vnava-nsw , and sorry for the late reply. looks good!

@porsager porsager merged commit 4467d11 into porsager:master Jan 3, 2023
porsager pushed a commit that referenced this pull request Feb 1, 2023
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

Successfully merging this pull request may close these issues.

postgres(url) wrongly encodes password field when password contains special characters
2 participants