Use of --uri overrides use of --ssl

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4, 3.6.5
    • Affects Version/s: None
    • Component/s: All Tools
    • None
    • 0.5
    • v3.6

      When a --uri option is used, the absence of the ssl option there overrides an --ssl option on the command line. E.g.

      1. will not use SSL: mongodump --uri=mongodb://localhost:27017/ --ssl
      2. will use SSL: mongodump --uri=mongodb://localhost:27017/?ssl=true
      3. will not use SSL: mongodump --uri=mongodb://localhost:27017/?ssl=false --ssl

      Case 1 should use SSL. Case 2 is fine. Case 3 should be an error about conflicting arguments (as is done for other URI/command-line conflicts).

            Assignee:
            David Golden
            Reporter:
            David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: