Fix credentials encoding when using X509 auth

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.20.5, 1.21.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Iteration Urial, Iteration Vicuña
    • None
    • None

      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.

              Assignee:
              Alena Khineika
              Reporter:
              Alena Khineika
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: