Skip to content
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
@daryllstrauss

Description

@daryllstrauss

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions