[CSHARP-3905] Don't double dots in the end of encryption exception message Created: 14/Oct/21  Updated: 21/Oct/21  Resolved: 21/Oct/21

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates CSHARP-3467 Test that KMS TLS connections verify ... Closed

 Description   

Currently we can generate doubled "dot"s in the end of encryption exception message here: https://github.com/mongodb/mongo-csharp-driver/blob/master/src/MongoDB.Driver/Encryption/MongoEncryptionException.cs#L32 if the original inner exception also is ended on dot. Which means that the final exception message can be similar to:

Encryption related exception: The remote certificate is invalid according to the validation procedure..



 Comments   
Comment by Dmitry Lukyanov (Inactive) [ 21/Oct/21 ]

The scope of this ticket is implemented in CSHARP-3467

Generated at Wed Feb 07 21:46:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.