couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Commented: (COUCHDB-781) Validate replication arguments
Date Mon, 31 May 2010 16:56:39 GMT

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


Mime
View raw message