cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Why CURLE_URL_MALFORMAT?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 19 Feb 2003 12:56:18 +0100 (CET)

On Wed, 19 Feb 2003, Zhen Wang wrote:

> curl_easy_setopt(pURL,
> CURLOPT_URL,"http://www.google.co.uk/search?q=Funny+Things&hl=en&lr=&ie=UTF-8&oe=UTF-8&start=0&sa=N");

[snip]

> But I have no idea about getting a CURLE_URL_MALFORMAT error since the URL
> "http://www.google.co.uk/search?q=Funny+Things&hl=en&lr=&ie=UTF-8&oe=UTF-8&start=0&sa=N"
> works well in IE when I directly type the address in the address bar.

Well, I can use that URL fine with curl on the command line.

Can you show us a complete program that makes this happen? A source code I
can compile and run and see this returned?

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
Received on 2003-02-19