n_new, n_resolve_new: Escape URL for libcurl
commit5b02675adf90675f486b0e371c8ca52ca0c3d9bc
authorToni Gundogdu <legatvs@gmail.com>
Mon, 14 Oct 2013 13:24:48 +0000 (14 16:24 +0300)
committerToni Gundogdu <legatvs@gmail.com>
Tue, 15 Oct 2013 14:37:04 +0000 (15 17:37 +0300)
tree869f8717ec3ef5339c2e67dbcea42f7355bc990b
parent3b2a19d3182a28a21b759fea83edf3ba3a157aab
n_new, n_resolve_new: Escape URL for libcurl

Escape the URLs at these chokepoints before they are passed to libcurl
(via CURLOPT_URL). libcurl works with UTF8 chars as long as they have
been escaped.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
src/net/handle.c