curl-library
Re: HTTP Proxy & Cookies = Cookies not sent
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 16 Aug 2004 09:21:44 +0200 (CEST)
Date: Mon, 16 Aug 2004 09:21:44 +0200 (CEST)
On Fri, 13 Aug 2004, Roland Krikava wrote:
> I was having problems with libcurl not sending cookies when using a proxy. I
> traced the problem to Curl_http where the var 'ppath' is set to the complete
> path (including hostname) when using proxies. This causes problems later on
> when the cookie path is compared with the complete path.. resulting in no
> cookies being sent for cookies that had path restrictions.
>
> Attached is a patch to fix this problem.
Very nice catch and fix!
I've applied and committed. I even added a test case that verifies that curl
now does the right thing.
Thanks!
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2004-08-16