incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Hahn <m...@hahnca.com>
Subject Re: literal '+' in URL when creaitng a database
Date Mon, 29 Oct 2012 22:18:16 GMT
> "URL encoding" is applied homogeneously over all parts of the URL.

What if there was a slash or hash character?  I don't see how you can avoid
escaping the whole url.

On Mon, Oct 29, 2012 at 3:13 PM, Sam Stainsby <
sam@sustainablesoftware.com.au> wrote:

> On Mon, 29 Oct 2012 17:07:37 +0000, Robert Newson wrote:
>
> > It's because we call mochiweb_util:unquote(Path) which replaces the +
> > for a space.
>
> What I've read is that there seems to be a widespread misconception that
> "URL encoding" is applied homogeneously over all parts of the URL. Even
> some major libraries get it wrong --- or have misleading names at least.
>
> I've reported this now:
> https://issues.apache.org/jira/browse/COUCHDB-1580
>
> -- Sam.
>
>

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