[ 
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.

Reply via email to