[DRIVERS-2679] Connection String: make delimiting slash between hosts and options optional Created: 24/Jul/23 Updated: 18/Sep/23 |
|
| Status: | Implementing |
| Project: | Drivers |
| Component/s: | Connection String |
| Fix Version/s: | None |
| Type: | Spec Change | Priority: | Minor - P4 |
| Reporter: | Warren James | Assignee: | Warren James |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Changes: | Needed | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Downstream Changes Summary: | ACImplementation Requirements
Testing Requirements
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Engineering Lead: | |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Start date: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
SummarySome drivers(Node, .NET/C#) currently permit omitting the delimiting slash which separates the hosts and options, but the spec contains tests and language that imply that this slash is required. Making these drivers spec compliant would be a breaking change for many users as it would also make connection strings incompatible with standard URL syntax. This change would loosen the spec to make the delimiting slash optional. MotivationWho is the affected end user?Driver users, Driver Engineers How does this affect the end user?Would guarantee that, regardless of driver, connection strings in URL format will always work as expected. How likely is it that this problem or use case will occur?Somewhat likely as it is common practice in URLs to omit the trailing slash when providing options If the problem does occur, what are the consequences and how severe are they?Minor annoyance Is this issue urgent?No Is this ticket required by a downstream team?Needed by e.g. Atlas, Shell, Compass? Is this ticket only for tests?No, this ticket will require a change to the langauge in the Host Information section of the Connection String spec, changing it from.
to
Acceptance Criteria
Driver changes
|
| Comments |
| Comment by Githook User [ 18/Sep/23 ] |
|
Author: {'name': 'Warren James', 'email': 'warren.james@mongodb.com', 'username': 'W-A-James'}Message: DRIVERS-2679: make delimiting slash between hosts and connection options optional (#1447) Co-authored-by: Andreas Braun <alcaeus@users.noreply.github.com> |