[COMPASS-4104] Fix credentials encoding when using X509 auth Created: 16/Jan/20 Updated: 29/Oct/23 Resolved: 22/Jan/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.20.5, 1.21.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alena Khineika | Assignee: | Alena Khineika |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Sprint: | Iteration Urial, Iteration Vicuña | ||||||||||||
| Description |
|
Since x509Username can include special characters such as `:` we should use percent-encoding to distinguish a delimiter from the part of the username component. Otherwise a part of the username that follows `:` will be parsed by the driver as a password. And the password is not allowed for the `MONGODB-X509` mechanism. |
| Comments |
| Comment by Githook User [ 29/Jan/20 ] |
|
Author: {'username': 'durran', 'name': 'Durran Jordan', 'email': 'durran@gmail.com'}Message:
Switched to prettier ages ago
hadron-app@latest hadron-app-registry@latest hadron-compile-cache@latest hadron-document@latest hadron-module-cache@latest
Co-authored-by: Lucas Hrabovsky <hrabovsky.lucas@gmail.com> |
| Comment by Githook User [ 29/Jan/20 ] |
|
Author: {'name': 'Alena Khineika', 'username': 'alenakhineika', 'email': 'alenakhineika@users.noreply.github.com'}Message: Co-authored-by: Lucas Hrabovsky <hrabovsky.lucas@gmail.com> |
| Comment by Githook User [ 29/Jan/20 ] |
|
Author: {'name': 'Alena Khineika', 'username': 'alenakhineika', 'email': 'alenakhineika@users.noreply.github.com'}Message: Co-authored-by: Lucas Hrabovsky <hrabovsky.lucas@gmail.com> |
| Comment by Githook User [ 22/Jan/20 ] |
|
Author: {'username': 'imlucas', 'name': 'Lucas Hrabovsky', 'email': 'hrabovsky.lucas@gmail.com'}Message: Merge branch 'master' into |
| Comment by Githook User [ 22/Jan/20 ] |
|
Author: {'email': 'hrabovsky.lucas@gmail.com', 'username': 'imlucas', 'name': 'Lucas Hrabovsky'}Message: build(deps):
|
| Comment by Githook User [ 21/Jan/20 ] |
|
Author: {'email': 'alena.khineika@gmail.com', 'name': 'Alena Khineika', 'username': 'alenakhineika'}Message: |
| Comment by Githook User [ 20/Jan/20 ] |
|
Author: {'username': 'alenakhineika', 'name': 'Alena Khineika', 'email': 'alenakhineika@users.noreply.github.com'}Message: |
| Comment by Githook User [ 20/Jan/20 ] |
|
Author: {'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com', 'username': 'alenakhineika'}Message: |
| Comment by Githook User [ 20/Jan/20 ] |
|
Author: {'username': 'alenakhineika', 'name': 'Alena Khineika', 'email': 'alenakhineika@users.noreply.github.com'}Message: |
| Comment by Githook User [ 17/Jan/20 ] |
|
Author: {'username': 'alenakhineika', 'name': 'Alena Khineika', 'email': 'alena.khineika@gmail.com'}Message: |