You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/08 14:14:26 UTC

[jira] [Commented] (COUCHDB-2845) Malformed open_revs parm results in a 500

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

ASF GitHub Bot commented on COUCHDB-2845:
-----------------------------------------

GitHub user rnewson opened a pull request:

    https://github.com/apache/couchdb-couch/pull/116

    Throw if parse_revs is not a list

    COUCHDB-2845

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

    $ git pull https://github.com/cloudant/couchdb-couch 2845-open-revs

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

    https://github.com/apache/couchdb-couch/pull/116.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 #116
    
----
commit 33bc0608602f100527d1e00d8b3dbedf938647dd
Author: Robert Newson <rn...@apache.org>
Date:   2015-10-08T12:12:09Z

    Throw if parse_revs is not a list
    
    COUCHDB-2845

----


> Malformed open_revs parm results in a 500
> -----------------------------------------
>
>                 Key: COUCHDB-2845
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2845
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>            Reporter: Robert Newson
>
> The open_revs parameter supports only a list of revs, or the string "all".  If you pass it anything other than that (such as true) the system responds with a 500.
> curl https://localhost/db1/doc1?open_revs=true
> {"error":"unknown_error","reason":"function_clause","ref":1210790983}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)