Skip to content

Better error message for slash in hostname - #1559

Merged
jlord merged 1 commit into
2.2from
slash-in-hostname
Nov 28, 2017
Merged

Better error message for slash in hostname#1559
jlord merged 1 commit into
2.2from
slash-in-hostname

Conversation

@durran

@durran durran commented Nov 5, 2017

Copy link
Copy Markdown
Contributor

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

jlord commented Nov 28, 2017

Copy link
Copy Markdown
Contributor

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