Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow valid MongoDB connection strings #670
Allow valid MongoDB connection string when attaching to a server.
Current code disallowed a connection string of the form
This pull request expands the validation code to allow connections that start with both
Other places in the code base account for and correctly parse the +srv variant, such as the code that parses database name from the connection URL.
It looks like the builds are failing due to some access permission issues in TravisCI. I haven't seen this issue before.
- We'll try to fix that soon, and verify that the tests pass
- I'll wait for another review before we merge. :)