Skip to content

Better error message for slash in hostname #1559

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

Merged
merged 1 commit into from
Nov 28, 2017
Merged

Better error message for slash in hostname #1559

merged 1 commit into from
Nov 28, 2017

Conversation

durran
Copy link
Member

@durran durran commented Nov 5, 2017

If a user enters a non-socket hostname with more than one "/" in it (such as mongodb://invalid/127.0.0.1:27017/db), the error message would previously state "double colon in host identifier" which was incorrect.

@durran durran requested a review from mbroadst November 5, 2017 13:43
@mbroadst mbroadst assigned mbroadst and jlord and unassigned mbroadst Nov 16, 2017
@jlord
Copy link
Contributor

jlord commented Nov 28, 2017

Thanks @durran!

@jlord jlord merged commit c058e3a into 2.2 Nov 28, 2017
jlord pushed a commit that referenced this pull request Nov 29, 2017
jlord pushed a commit that referenced this pull request Nov 29, 2017
@mbroadst mbroadst deleted the slash-in-hostname branch April 10, 2019 14:49
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.

3 participants