Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2294

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.20.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 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:
            Unassigned Unassigned
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: