You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benjamin Young (Commented) (JIRA)" <ji...@apache.org> on 2011/10/14 03:56:13 UTC

[jira] [Commented] (COUCHDB-1074) trouble URL rewriting for key/startkey/endkey qs params

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

Benjamin Young commented on COUCHDB-1074:
-----------------------------------------

As mentioned in the comments on COUCHDB-1290 the fix for this issue forces Boolean values to be quoted, and therefore means past rewrite rules will break when someone upgrades to 1.1+

Rewrites need to be expressible in JSON, and requiring to quote Boolean values breaks that and adds a requirement for additional knowledge ("write JSON docs everywhere but here...") to get rewrites to work in 1.1+.

Perhaps this is what Jan was referring to in his earlier comments.
                
> trouble URL rewriting for key/startkey/endkey qs params
> -------------------------------------------------------
>
>                 Key: COUCHDB-1074
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1074
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>            Reporter: Benoit Chesneau
>            Assignee: Benoit Chesneau
>            Priority: Blocker
>              Labels: rewriter
>             Fix For: 1.1, 1.2
>
>         Attachments: 0001-fix-issue-COUCHDB-1074.-fix-variable-substitution.patch, 0001-fix-issue-COUCHDB-1074.-fix-variable-substitution.patch, 0001-fix-issue-COUCHDB-1074.-fix-variable-substitution.patch, 0001-fix-variable-substitutions.-handle-cases.patch, 0002-add-formating-in-variables-substitution.patch
>
>
> the variable substution not to happen, e.g.
> >
> > {
> >  "query": { "key": "\":arg\"" }
> > }
> >
> relative to this ml thread:
> http://mail-archives.apache.org/mod_mbox/couchdb-dev/201102.mbox/browser

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira