couchdb-dev mailing list archives

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

                 Key: COUCHDB-1348
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1348
             Project: CouchDB
          Issue Type: Bug
          Components: Infrastructure
    Affects Versions: 1.1.1
            Reporter: Michael Bykov


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