cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-410727 ] redirect crashs for curl-7.7

From: <noreply_at_sourceforge.net>
Date: Fri, 23 Mar 2001 00:05:25 -0800

Bugs item #410727, was updated on 2001-03-23 00:05
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=410727&group_id=976

Category: libcurl
Group: crash
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: redirect crashs for curl-7.7

Initial Comment:
Hi,

I just wrote a small test program using libcurl and
found a bug: if you run "curl_easy_setopt(curl,
CURLOPT_FOLLOWLOCATION, 1);curl_easy_setopt(curl,
CURLOPT_URL, "http://foo/bar");
curl_easy_perform(curl)" and the web server returns a
redirect URL without a host name, the code tries to
write to the original URL string for extracting the
host name (in transfer.c:823).

--nk

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=100976&aid=410727&group_id=976
Received on 2001-03-23