avsm/ocaml-uri — pull request #14 by mjambon (2012-11-07 22:10:07+00:00)
Title: '+' in the query part of the URL

Hi Anil,

I added '+' as a character to percent-encode when it occurs in the query, for compatibility with application/x-www-form-urlencoded which assumes that '+' means space.

This solves our problem, since we had something like

http://example.com/?content_md5=H9vmjmollvcyz9M14i+S0w== (incorrect)

now it is:

http://example.com/?content_md5=H9vmjmollvcyz9M14i%2BS0w==