Skip to content

CSHARP-6214: Implement srvAllowedHostsSuffix URI option - #2126

Merged
adelinowona merged 3 commits into
mongodb:v3.xfrom
adelinowona:csharp6214-v3.x
Sep 17, 2026
Merged

adelinowona merged 3 commits into
mongodb:v3.xfrom
adelinowona:csharp6214-v3.x

Conversation

@adelinowona

@adelinowona adelinowona commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Backport of #2109 to v3.x.

patch here

@adelinowona
adelinowona requested a review from a team as a code owner September 16, 2026 23:35
@adelinowona
adelinowona requested review from papafe and removed request for a team September 16, 2026 23:35
@adelinowona adelinowona added the feature Adds new user-facing functionality. label Sep 16, 2026
…tings method

The public ClusterSettings constructor and With overload keep their released
signatures; adding an optional parameter to either is a binary break, and an
overload carrying the extra parameter makes every call that omits it ambiguous.
WithSrvAllowedHostsSuffix sets the value instead, and With carries it across.
@adelinowona
adelinowona requested review from sanych-sun and removed request for papafe September 17, 2026 00:23
The check compensates for the NLS globalization backend, which returns all-ASCII
input from GetAscii without decoding it. .NET Core 3.1 on Windows runs the
netstandard2.1 build on NLS, so that target needs the check as well.

@sanych-sun sanych-sun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@adelinowona
adelinowona merged commit 0c6973d into mongodb:v3.x Sep 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Adds new user-facing functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants