[DRIVERS-391] Username and password must be URI-escaped Created: 15/Jun/17 Updated: 28/Oct/23 Resolved: 05/Aug/19 |
|
| Status: | Closed |
| Project: | Drivers |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Rathi Gnanasekaran | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Driver Compliance: |
|
||||||||||||||||||||||||||||||||||||
| Description |
|
All drivers need to update their Connection String Spec tests and ensure conformance with a slightly modified description of how special characters in username and password are escaped in the URI. Not just "%", "@", and ":" must be escaped, all delimiters from RFC 3986 must be percent-encoded. Therefore, since "/" must be escaped in username and password, we can split the URI at the first "/" instead of the last. Delimiters are also prohibited in the auth database name, but allow ".". |