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

Password special character escaping for SRV record connections not as robust as hostname connections

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 1.16.2, 1.16.3
    • Affects Version/s: 1.13.0
    • Component/s: Connectivity
    • Labels:
      None
    • Iteration Mango Miso, Iteration Naan, Iteration Octopus, Iteration Paneer, Iteration Qbert, Iteration Sriracha

      Using a special character, such as `<`, causes an error with SRV record connection attempts, but not with hostname connection attempts.

      Password contains an illegal unescaped character
      

      The password given in the screenshot is: a<b

      The same password given with a hostname record correctly gives authentication failed.

       

      Acceptance Criteria:

      • Compass connections using SRV records properly escape special characters in the password.
      • Compass connections using SRV records properly escape special characters in the username.
      • Supported special characters include: "@", "/", "\", "?", "#", "+", "_", "!", "-", "'"

       

       

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            brian.blevins@mongodb.com Brian Blevins
            Votes:
            3 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: