Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-391

Username and password must be URI-escaped

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Component/s: None
    • Labels:
      None
    • $i18n.getText("admin.common.words.hide")
      Key Status/Resolution FixVersion
      NODE-1043 Fixed 3.0.0
      SCALA-317 Works as Designed 2.2.0
      JAVA-2540 Fixed 3.7.0
      CSHARP-2004 Fixed 2.9.0
      CXX-1370 Fixed 3.2.0-rc0
      PHPC-972 Works as Designed
      RUBY-1220 Fixed 2.4.3
      CDRIVER-2190 Fixed 1.7.0
      PERL-783 Fixed 2.0.0
      PYTHON-1282 Fixed 3.5
      $i18n.getText("admin.common.words.show")
      #scriptField, #scriptField *{ border: 1px solid black; } #scriptField{ border-collapse: collapse; } #scriptField td { text-align: center; /* Center-align text in table cells */ } #scriptField td.key { text-align: left; /* Left-align text in the Key column */ } #scriptField a { text-decoration: none; /* Remove underlines from links */ border: none; /* Remove border from links */ } /* Add green background color to cells with FixVersion */ #scriptField td.hasFixVersion { background-color: #00FF00; /* Green color code */ } /* Center-align the first row headers */ #scriptField th { text-align: center; } Key Status/Resolution FixVersion NODE-1043 Fixed 3.0.0 SCALA-317 Works as Designed 2.2.0 JAVA-2540 Fixed 3.7.0 CSHARP-2004 Fixed 2.9.0 CXX-1370 Fixed 3.2.0-rc0 PHPC-972 Works as Designed RUBY-1220 Fixed 2.4.3 CDRIVER-2190 Fixed 1.7.0 PERL-783 Fixed 2.0.0 PYTHON-1282 Fixed 3.5

      All drivers need to update their Connection String Spec tests and ensure conformance with a slightly modified description of how special characters in username and password are escaped in the URI.

      Not just "%", "@", and ":" must be escaped, all delimiters from RFC 3986 must be percent-encoded. Therefore, since "/" must be escaped in username and password, we can split the URI at the first "/" instead of the last. Delimiters are also prohibited in the auth database name, but allow ".".

            Assignee:
            Unassigned Unassigned
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: