This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$parse removes object keys that begin with $ (dollar sign) #1463
Closed
Description
If you attempt to send {'_id':{'$oid':'123'}} as an argument to a resource, the {'$oid':'123'} is removed from the http request that is sent.
This is a problem, because mongodb uses keys that start with $ as a way to serialize certain objects.
As far as I can tell there's no restriction on $ from the strings in a JSON object, so it seems the behavior of parse is wrong.