Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-1765

Connection String: make delimiting slash between hosts and options optional

    • Type: Icon: Spec Change Spec Change
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Connection String
    • Hide

      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}
      Show
      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 }

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

            Assignee:
            Unassigned Unassigned
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: