On Mon, Mar 29, 2010 at 12:13 AM, Zachary Zolton <[email protected]> wrote: > Nope, I'm not having any luck, either... > > What I had working was a redirect like so: > > { > "from": "/events/:year", > "to": "_list/event-list/events-by-year", > "query": { > "key": ":year", > "reduce": false, > "include_docs": true > } > } > > Because the :year bindvar only needed to handle numbers, which > technically work without any JSON encoding. > > As soon as I tried using a string parameter, as a bindvar, I'd get: > > { > "error": "bad_request" > "reason": "invalid UTF-8 JSON" > } > > So, yes, we need JSON encoding of key, startkey and endkey. > > Uh ? Could you give exact example ? I fail to see how it's related to the ticket. Thanks.
- benoit
