[CSHARP-4792] Connection String: make delimiting slash between hosts and options optional Created: 18/Sep/23  Updated: 28/Oct/23  Resolved: 28/Sep/23

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

Type: Spec Change Priority: Minor - P4
Reporter: PM Bot Assignee: James Kovacs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Issue split
split from DRIVERS-2679 Connection String: make delimiting sl... Implementing
Upstream Changes Summary:

DRIVERS-2679:

AC

Implementation Requirements

  • Ensure that URI parsing logic treats the delimiting slash between hosts and client options as optional
    • E.g.: The URI string "mongodb://example.com?w=1" should parse without error and yield the same results as "mongodb://example.com/?w=1"

Testing Requirements

  • Sync connection string spec tests updated in this PR
    • affects connection-string/tests/invalid-uris.{yml,json} and connection-string/tests/valid-options.{yml,json}
Backwards Compatibility: Fully Compatible
Documentation Changes: Not Needed
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

This ticket was split from DRIVERS-2679, please see that ticket for a detailed description.



 Comments   
Comment by Githook User [ 27/Sep/23 ]

Author:

{'name': 'James Kovacs', 'email': 'jkovacs@post.harvard.edu', 'username': 'JamesKovacs'}

Message: CSHARP-4792: Verify that delimiting slash bewteen hosts and options is optional. (#1182)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/ca977bef0698e2fffa74de65d3a423e7f58754e1

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