incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jens Alfke <j...@couchbase.com>
Subject Re: literal '+' in URL when creaitng a database
Date Mon, 29 Oct 2012 16:48:52 GMT

On Oct 29, 2012, at 1:26 AM, Sam Stainsby <sam@sustainablesoftware.com.au<mailto:sam@sustainablesoftware.com.au>>
wrote:

How couch encodes that as a file name in an OS would be internal to
couch, so if couch is using query string encoding for the file name, that
may be a good choice for OS portability. However, my understanding is
that '+' representing a space in a URL is only valid for the *query* part
of a URL.

Agreed — it should not be necessary to URL-encode “+” signs in the path portion of a
URL. Your URL refers to the database named “aaa+bbb”, not “aaa bbb”, so the request
should have succeeded. This sounds like a bug in CouchDB.

—Jens

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message