GitHub user eiri opened a pull request:
https://github.com/apache/couchdb-couch-mrview/pull/47
Don't try to decode non-stringified JSON in params
It is possible for the params "key", "keys", "startkey" and "endkey" to
receive already decoded JSON array, if the query was done with `POST` and
"keys" or "queries" payload.
COUCHDB-3031
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cloudant/couchdb-couch-mrview
67171-dont-decode-json-in-params
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-couch-mrview/pull/47.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #47
----
commit 3a1cb4494b8a68187ea290779261cca07784bd81
Author: Eric Avdey <[email protected]>
Date: 2016-06-07T17:47:32Z
Don't try to decode non stringified JSON in params
It is possible for the params "key", "keys", "startkey" and "endkey"
to receive already decoded JSON array, if the query was done with POST
and "keys" or "queries" payload.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---