You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (JIRA)" <ji...@apache.org> on 2011/01/20 13:54:43 UTC
[jira] Updated: (COUCHDB-1035) oauth handler always expect json
encoded value for key, start_key ...
[ https://issues.apache.org/jira/browse/COUCHDB-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Chesneau updated COUCHDB-1035:
-------------------------------------
Component/s: HTTP Interface
Priority: Minor (was: Major)
Affects Version/s: 1.2
1.1
> oauth handler always expect json encoded value for key, start_key ...
> ---------------------------------------------------------------------
>
> Key: COUCHDB-1035
> URL: https://issues.apache.org/jira/browse/COUCHDB-1035
> Project: CouchDB
> Issue Type: Bug
> Components: HTTP Interface
> Affects Versions: 1.1, 1.2
> Reporter: Benoit Chesneau
> Priority: Minor
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.