Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.1, 1.2
-
None
-
None
-
New Contributors Level (Easy)
Description
oauth handler always expect json encoded value for key, start_key ... even the path isn't a view, list or all_docs resources:
Path: "/testdb/_design/legacyapp/_show/post/essai?id=essai&key=test"
[debug] [<0.121.0>] OAuth Params: [
{"id","essai"},
{"key","test"}]
[error] [<0.121.0>] attempted upload of invalid JSON (set log_level to debug to log it)
[debug] [<0.121.0>] Invalid JSON: <<"test">>
If you are OK i will provide a patch that only try to encode when it's needed.
Attachments
Issue Links
- is duplicated by
-
COUCHDB-1439 `key`, `startkey`, `endkey` query parameters seems to have valid json value for show/update handlers.
- Closed