cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: actual version: HTTP redirect -> https target

From: Harald Latzko <root_at_c-works.net>
Date: Thu, 21 Mar 2013 11:03:11 +0100

Hi,

Am 21.03.2013 um 10:17 schrieb Daniel Stenberg <daniel_at_haxx.se>:

> On Thu, 21 Mar 2013, Harald Latzko wrote:
>
>> I tried this now, but without success. In older versions, (i.e. 7.19.x, 7.20.x) this functionality worked, even without the CURLOPT_REDIR_PROTOCOLS parameter. I made an update to CURL 7.29.0 due to the security flaw mentioned in february (see http://www.h-online.com/open/news/item/cURL-goes-wrong-1800880.html). Maybe the handling in this version differs from older versions from now on?
>
> I don't understand the problem. Can you show us the request(s) libcurl sends and the subsequent response(s) from the server?
Blame my development environment: libcurl was compiled without https support, so the redirect could never reach its destination. It took a while to check that fact, perhaps someone wants to handle such a situation with a specialized error handling?

Harald
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-21