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

fix(NODE-3109): prevent servername from being IP [PORT 4.0] #2771

Merged
merged 1 commit into from
Apr 8, 2021

Conversation

nbbeeken
Copy link
Contributor

PORT to 4.0

servername should only ever be a hostname. Add a condition
to check if the host is an IP and skip auto setting the servername.

@nbbeeken nbbeeken requested review from durran and emadum March 29, 2021 21:39
@nbbeeken nbbeeken changed the title NODE-3109/4.0/no-ip-in-sni fix(NODE-3109): prevent servername from being IP [PORT 4.0] Mar 29, 2021
Copy link
Member

@durran durran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nbbeeken nbbeeken merged commit 27089be into 4.0 Apr 8, 2021
@nbbeeken nbbeeken deleted the NODE-3109/4.0/no-ip-in-sni branch April 8, 2021 14:21
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