incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Blakey <antony.bla...@gmail.com>
Subject Re: Considerations for lots and lots of databases?
Date Sat, 10 Jan 2009 18:52:57 GMT

On 11/01/2009, at 5:12 AM, Robert Koberg wrote:

> "Note also that a / character in a DB name must be escaped when used  
> in a URL; if your DB is named his/her then it will be available at  
> [WWW] http://localhost:5984/his%2Fher. "
>
> I thought it would just create the directory 'his%2Fher'
>
> If new, do you still need to escape the slash in a URL?

Couch will see the name "his/her" because the URL will be decoded. The  
%2F is purely a URL encoding issue to ensure that the dbname is a  
single URL path segment.

Antony Blakey
--------------------------
CTO, Linkuistics Pty Ltd
Ph: 0438 840 787

75% of statistics are made up on the spot.



Mime
View raw message