Connection string parser doesn't return original hostname

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      The connection sting parser returns a list of hosts like this:

      [

      {host: "compass-data-sets-shard-00-02-e06dc.mongodb.net", port: 27017}

      ,

      {host: "compass-data-sets-shard-00-00-e06dc.mongodb.net", port: 27017}

      ,

      {host: "compass-data-sets-shard-00-01-e06dc.mongodb.net", port: 27017}

      ]

      but the initial hostname was compass-data-sets-e06dc.mongodb.net
      According to the specification, {{mongodb+srv://

      {hostname}

      .

      {domainname}

      /

      {options}

      }}
      for srv connection string it should be a single hostname. The original hostname should be returned after parsing, but it appears to be modified.

            Assignee:
            Unassigned
            Reporter:
            Katherine Walker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: