Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1239

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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.2
    • Affects Version/s: 1.5.1
    • Component/s: 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 Derick Rethans
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: