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

Connection string exception #40

Closed
eNepper opened this issue Oct 5, 2010 · 3 comments
Closed

Connection string exception #40

eNepper opened this issue Oct 5, 2010 · 3 comments

Comments

@eNepper
Copy link

eNepper commented Oct 5, 2010

I get the exception: The connection string passed does not appear to be a valid Uri, it should be of the form: 'mongodb[rs]://[user:password]@host:[port]/[replicaSetName]/dbname?[options]' where the parts in brackets are optional.

The problem is that my connection string contains a #

@schotime
Copy link
Collaborator

schotime commented Oct 5, 2010

What is your connection string? and why does there need to be a # in it?

@eNepper
Copy link
Author

eNepper commented Oct 5, 2010

mongodb://username:password@host:port/database
It's the password that contains a #

@atheken
Copy link
Owner

atheken commented Oct 15, 2010

I would consider encoding the # in the password to "%23" and see if that takes care of you.

This issue was closed.
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

3 participants