You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (JIRA)" <ji...@apache.org> on 2010/05/31 18:56:39 UTC

[jira] Commented: (COUCHDB-781) Validate replication arguments

    [ https://issues.apache.org/jira/browse/COUCHDB-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873716#action_12873716 ] 

Filipe Manana commented on COUCHDB-781:
---------------------------------------

Do all the tests pass?

It seems you're not validating parameter "query_params".

> Validate replication arguments
> ------------------------------
>
>                 Key: COUCHDB-781
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-781
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Replication
>            Reporter: Robert Newson
>         Attachments: validate_replication_props.patch
>
>
> This patch checks that all keys in the JSON passed via _replicate/ are valid. This provides an information 400 error like this;
> {"error":"bad_request","reason":"Unsupported key 'foo' with value 'true'"}
> instead of silently accepting the request.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.