Hi,

please help me solve a problem:

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! It looks like a bug, if I
am not completely mistaken:

 ...

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

...

It should replace * with complete path, isn't it?

In insecure mode I got the same result.

What can be done to solve the problem?

Thank you


-- 
М.

http://diglossa.ru
xmpp://[email protected]

Reply via email to