You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Christopher Lenz <cm...@gmx.de> on 2008/05/10 15:55:16 UTC

Re: MochiWeb and /db/_design

On 25.04.2008, at 15:36, Guby wrote:
> Not sure if this is the case here, but I have found out, that on the  
> trunk, when creating a view, I have to replace the forward slashes  
> with %2F:
>
> PUT /DATABASE_NAME/_design%2Fview

That's because slashes in document IDs need to be URL encoded. It  
should have been that way before, but some part of the URL decoding  
system was probably just too lax.

Cheers,
--
Christopher Lenz
   cmlenz at gmx.de
   http://www.cmlenz.net/