[GODRIVER-2991] Connection String: make delimiting slash between hosts and options optional Created: 18/Sep/23  Updated: 18/Sep/23

Status: Backlog
Project: Go Driver
Component/s: Connection String
Affects Version/s: None
Fix Version/s: None

Type: Spec Change Priority: Minor - P4
Reporter: PM Bot Assignee: Unassigned
Resolution: Unresolved 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}

 Description   

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


Generated at Thu Feb 08 08:39:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.