[GODRIVER-1625] Single character passwords not handled Created: 26/May/20 Updated: 28/Oct/23 Resolved: 16/Jun/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.3.5 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The URI parser sets PasswordSet to true if the user info contains a ":" but only parses the password if it's of length greater than 1. A single-character password is valid, so that check should be for greater than 0. |
| Comments |
| Comment by Githook User [ 16/Jun/20 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Co-authored-by: Jun Li <472780330@qq.com> |
| Comment by Githook User [ 16/Jun/20 ] |
|
Author: {'name': 'Divjot Arora', 'email': 'divjot.arora@10gen.com', 'username': 'divjotarora'}Message: Co-authored-by: Jun Li <472780330@qq.com> |
| Comment by Divjot Arora (Inactive) [ 11/Jun/20 ] |
| Comment by Divjot Arora (Inactive) [ 26/May/20 ] |