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


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