couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-1035) oauth handler always expect json encoded value for key, start_key ...
Date Thu, 20 Jan 2011 12:52:46 GMT
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
            Reporter: Benoit Chesneau


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.


Mime
View raw message