Allow : for IPv6 in replSetHostMatch

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.8.1
    • Affects Version/s: None
    • Component/s: CLI Module
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 1
    • Iteration Yellowtail Amberjack
    • Not Needed

      https://github.com/mongodb-js/mongosh/blob/76aa2d2bb6d20957e2d4bcf169cf0cf8fe864afb/packages/arg-parser/src/uri-generator.ts#L168-L179

      should allow hosts in the form of replsetname/[::1],[::1]:27018,[::1]:27019.

      A simple workaround for this exists in the form of using a connection string instead.

              Assignee:
              Unassigned
              Reporter:
              Anna Henningsen
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: