You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Benoit Chesneau (Assigned) (JIRA)" <ji...@apache.org> on 2011/11/26 14:19:39 UTC

[jira] [Assigned] (COUCHDB-1348) only first token in key with '*'

     [ https://issues.apache.org/jira/browse/COUCHDB-1348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Chesneau reassigned COUCHDB-1348:
----------------------------------------

    Assignee: Benoit Chesneau
    
> only first token in key with '*'
> --------------------------------
>
>                 Key: COUCHDB-1348
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1348
>             Project: CouchDB
>          Issue Type: Bug
>          Components: HTTP Interface
>    Affects Versions: 1.1.1
>            Reporter: Michael Bykov
>            Assignee: Benoit Chesneau
>
> I have URLs like Augustine/Confessiones/Book-5, URLs could have arbitrary depth, so any number of slashes.
> rewrites:
>  {
>    "from":"/start/*",
>    "to":"_view/by_book/",
>    "method":"GET",
>    "query":{"key":"*"}
>  },
> But in resulted key I got only first token:
>  ...
>        {"x-couchdb-vhost-path","/start/Augustine/Confessiones/Book-5"},
>        {'X-Forwarded-For',"127.0.0.1"},
>        {"X-Insight","activate"},
>        {"X-Real-Ip","127.0.0.1"}]
> [debug] [<0.224.0>] OAuth Params: [{"key","\"Augustine\""}]
> [info] [<0.224.0>] 127.0.0.1 - - 'GET' /diglossa/_design/diglossa/_view/by_book?key=%22Augustine%22 200

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