couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (COUCHDB-1348) only first token in key with '*'
Date Sat, 26 Nov 2011 13:19:39 GMT

     [ 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

        

Mime
View raw message