[CXX-1096] find_one_and_replace and find_one_and_update do not validate the update document Created: 19/Oct/16 Updated: 30/Jan/17 Resolved: 30/Jan/17 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Implementation |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | David Golden |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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. |
| Comments |
| Comment by David Golden [ 30/Jan/17 ] |
|
This appears fixed upstream in |