Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1096

find_one_and_replace and find_one_and_update do not validate the update document

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Implementation
    • None

    Description

      The spec requires that we check update/replace documents for valid keys and the code doesn't appear to do so, nor does libmongoc, as it uses the same underlying function.

      Attachments

        Activity

          People

            david.golden@mongodb.com David Golden
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: