Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4726

Connection String: make delimiting slash between hosts and options optional

    • Type: Icon: Spec Change Spec Change
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.28.0
    • 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 }
    • Not Needed
    • Hide

      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?

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

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

            Assignee:
            josh.siegel@mongodb.com Josh Siegel
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: