-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.11.2
-
Component/s: Builders
-
None
The MongoUrlBuilder is not preserving the ssl_ca_certs property. The following unit tests fails.
[Test] public void MongoUrlBuilderDoesNotLooseCACerts() { var url = "mongodb://username:password@localhost:26018/?replicaSet=bla&ssl=true&ssl_ca_certs=/certs/cert.pem&connectTimeoutMS=5000000"; var builder = new MongoUrlBuilder(url); var newUrl = builder.ToMongoUrl().ToString(); Assert.IsTrue(newUrl.Contains("ssl_ca_certs")); }