find_one_and_replace and find_one_and_update do not validate the update document

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Implementation
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: