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-3166): allowInvalidHostnames and allowInvalidCertificates flags are ignored #2784

Merged
merged 4 commits into from
Apr 22, 2021

Conversation

nbbeeken
Copy link
Contributor

The insecure TLS flags were not being correctly translated to the equivalent nodejs options.

@nbbeeken nbbeeken requested review from a team, emadum and dariakp and removed request for a team April 19, 2021 20:23
@nbbeeken nbbeeken marked this pull request as ready for review April 19, 2021 20:23
Copy link
Contributor

@dariakp dariakp left a comment

Choose a reason for hiding this comment

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

Thanks for adding the tests, looking good minus the minor detail noted in the code comment!

test/unit/mongo_client_options.test.js Outdated Show resolved Hide resolved
@nbbeeken nbbeeken requested a review from dariakp April 20, 2021 21:31
@durran
Copy link
Member

durran commented Apr 22, 2021

I'm not listed as a reviewer but LGTM

@nbbeeken nbbeeken merged commit a769cf8 into 4.0 Apr 22, 2021
@nbbeeken nbbeeken deleted the NODE-3166/tls-flags branch April 22, 2021 17:06
ljhaywar pushed a commit that referenced this pull request Nov 9, 2021
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.

4 participants