cURL / Mailing Lists / curl-users / Single Mail


Re: endless loop on redirect (with patch)

From: Daniel Stenberg <>
Date: Thu, 10 May 2001 13:31:00 +0200 (MET DST)

On Thu, 10 May 2001, Ingo Wilken wrote:

> I was testing an application based on curl 7.7.3 on some URLs, and it
> ran> into an endless loop while while trying to fetch
> The reason was a redirect:


> Note the two spaces after the Location: field (allowed according to RFC
> 2068 section 4.2). Unfortunately, curl copied the second space into the
> new URL...


Nice patch. Thanks a lot. I edited it slightly before I committed it to CVS
(I used isspace() instead).

  Daniel Stenberg -- curl project maintainer --
Received on 2001-05-10