Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4104

Fix credentials encoding when using X509 auth

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

      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@mongodb.com Alena Khineika
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: