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

Handled passwords with @ in the connection URI #5091

Closed
wants to merge 1 commit into from

Conversation

GavinDmello
Copy link

If there's a @ symbol in the password, the host would not be correctly picked up.

@vkarpov15
Copy link
Collaborator

Thanks for the PR, I'd love to accept it (as well as aheckmann/muri#12) but unfortunately this behavior is explicitly forbidden in the mongodb spec, you should use encodeURIComponent() on your password if it contains illegal chars

@vkarpov15 vkarpov15 closed this Mar 25, 2017
@vkarpov15 vkarpov15 added this to the 4.9.2 milestone Mar 25, 2017
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.

2 participants