Passing empty driversOptions array to Manager constructor overrides SSL options in URI

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.5.2
    • Affects Version/s: 1.5.1
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When running the tests/standalone/manager-as-singleton.phpt test with an URI that contains SSL options (like mongodb://localhost:2100/?ssl=true&sslallowinvalidcertificates=true), passing in an empty array as 3rd $driversOptions argument to the MongoDB\Driver\Manager constructor resets SSL options to not have SSL on. This breaks the test for theĀ STANDALONE_SSL configuration (Travis, and locally).

              Assignee:
              Derick Rethans
              Reporter:
              Derick Rethans
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: