cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Escaping URL's

From: Sterling Hughes <sterling_at_designmultimedia.com>
Date: Thu, 10 May 2001 00:36:28 -0400 (EDT)

On Thu, 10 May 2001, Daniel Stenberg wrote:

> On Tue, 8 May 2001, Sterling Hughes wrote:
>
> [ The topic is about a libcurl option for automatic URL encoding of the
> specified URL string. ]
>
> > Perhaps an option then CURLOPT_ESCAPE?
>
> (Continued talk around libcurl features should be taken to the libcurl list.)
>
> I don't see the point with such an option. The person that would be able to
> use the option could just as well just invoke curl_escape() and use the
> returned string with CURLOPT_URL. Or have a missed something?
>

Well its possible to emulate the functionality, but there are other areas
where data needs to be escaped as well (CURLOPT_POSTFIELDS for example).
this option would escape these as well.

-Sterling

_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-05-10