-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
Reproduction steps:
1) Create a MongoUrl or use the MongoUrlBuilder
2) take that url and get the string version of it with ToString() or any way of getting the raw connection string
Actual: outputs a port in the connection string
Expected: no port should exist in the connection string
This mainly causes issues when parsing the connection string because there is validation to prevent ports when +srv is specified
- is duplicated by
-
CSHARP-2524 MongoUrlBuilder creates wrong url.
- Closed