[JAVA-1323] MongoClientURI cannot correctly parse password if it contains a '@' Created: 30/Jul/14 Updated: 31/Jul/14 Resolved: 31/Jul/14 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | 2.12.2 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Winston Lee | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
A password with an '@' character e.g. @dm1n, cannot be parsed correctly by the com.mongo.MongoClientURI class. |
| Comments |
| Comment by Jeffrey Yemin [ 31/Jul/14 ] | |
|
I'm going to close this, as i think the current behavior is correct. | |
| Comment by Winston Lee [ 30/Jul/14 ] | |
|
Thanks Jeff, that works. Perhaps this can be closed? Or fix the code such that it looks for the lastindexof @ instead of indexof @? | |
| Comment by Jeffrey Yemin [ 30/Jul/14 ] | |
|
Can you try URL encoding the '@' character, e.g.
|