[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:
Depends
depends on CDRIVER-2190 Username and password must be URI-esc... Closed
depends on CXX-1370 Username and password must be URI-esc... Closed
depends on NODE-1043 Username and password must be URI-esc... Closed
depends on PHPC-972 Username and password must be URI-esc... Closed
depends on RUBY-1220 Username and password must be URI-esc... Closed
depends on JAVA-2540 Database name should be checked for v... Closed
depends on CSHARP-2004 Username and password must be URI-esc... Closed
depends on PYTHON-1282 Username and password must be URI-esc... Closed
Driver Compliance:
Key Status/Resolution FixVersion
NODE-1043 Fixed 3.0.0
SCALA-317 Works as Designed 2.2.0
JAVA-2540 Fixed 3.7.0
CSHARP-2004 Fixed 2.9.0
CXX-1370 Fixed 3.2.0-rc0
PHPC-972 Works as Designed
RUBY-1220 Fixed 2.4.3
CDRIVER-2190 Fixed 1.7.0
PERL-783 Fixed 2.0.0
PYTHON-1282 Fixed 3.5

 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 ".".


Generated at Thu Feb 08 08:21:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.