GitHub user eiri opened a pull request:

    https://github.com/apache/couchdb-couch-replicator/pull/47

    Validate boolean parameters in /_replicate payload

    Unlike `/_replicator`, end-point `/_replicate` doesn't check type for the 
boolean parameters in payload, which leads replicator to crash with 
`case_clause`.
    
    This patch makes it to return "bad request" error on invalid input.
    
    COUCHDB-3118

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/couchdb-couch-replicator 
3118-validate-_replicate-payload

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch-replicator/pull/47.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #47
    
----
commit b9232c8d410d529d65030896e075c4b4327631b0
Author: Eric Avdey <e...@eiri.ca>
Date:   2016-09-01T18:59:13Z

    Validate boolean parameters in /_replicate payload

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to