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

Strictly validate readPreferenceTags from Manager options array

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.0.0-alpha1
    • Component/s: None
    • None

      Currently, "readPreferenceTags" are converted to BSON and set directly on the mongoc_read_prefs_t struct if they are an array. We don't validate that the elements in the array are, in fact, documents with string keys and values.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: