Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-757

does not accept certain characters (even escaped) in the userinfo in connection string

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      According to https://www.ietf.org/rfc/rfc3986.txt (which we don't follow precisely but somewhat):

      gen-delims = ":" / "/" / "?" / "#" / "]" / "[" / @"
      sub-delims = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="
      userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
      

      But with node.js, when I tried

      • username of: "kay:kay" in my connection string, node.js did not let me connect even though I escaped the colon in my connection string.
      • username of "k?y" also didn't work.

      Linking to https://jira.mongodb.org/browse/SPEC-618 such that if the behavior across drivers are supposed to be consistent or if differences are allowed.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            kay.kim@mongodb.com Kay Kim (Inactive)
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None