[GODRIVER-1195] Allow username and password include plus sign in connect string Created: 10/Jul/19 Updated: 11/Jul/19 Resolved: 11/Jul/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | Connections |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | newk | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Replace `QueryUnescape` with `PathUnescape` for not unescape the plus sign in username and password According to https://docs.mongodb.com/manual/reference/connection-string/#components , the plus sign does not need to use percent encoding, but with `QueryUnescape`, it will be convert to a space. As in https://golang.org/pkg/net/url/#PathUnescape said:
|
| Comments |
| Comment by Esha Bhargava [ 11/Jul/19 ] |
|
this is a duplicate of https://jira.mongodb.org/browse/GODRIVER-449 |
| Comment by newk [ 10/Jul/19 ] |
|
I am not familiar with Jira. If I do something wrong or if you need more information, please let me know |