cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] cookie path match fail

From: YAMADA Yasuharu <yasuharu.yamada_at_access-company.com>
Date: Tue, 11 Jun 2013 11:32:16 +0900

Hi Daniel.

2013/6/8 Daniel Stenberg <daniel_at_haxx.se>

> Please make it keep the "old" style of writing files so that files created
> with this new version will be loaded and used fine by older libcurls - for
> maximum use and portability between versions!

I create new patch file which is differ from
85b9dc80232d1d7d48ee4dea6db5a2263ee68ef.
This patch fixes cookie path match fail by keeping sanitized cookie path
and compare the path and URL path.

details is following:
https://github.com/aYasuharuYamada/curl/commit/4ea484ab1bd161e98baf3371ce2e6055b37b3473
<- first patch
https://github.com/aYasuharuYamada/curl/commit/297eac6c2ff81306984a4e4d08f579983552e308
  <- keep "old" style for cookie jar file

Best regards,
thanks
===============
YAMADA Yasuharu
ACCESS CO., LTD.
Yasuharu.Yamada_at_access-company.com

2013/6/8 Daniel Stenberg <daniel_at_haxx.se>

> On Wed, 5 Jun 2013, YAMADA Yasuharu wrote:
>
> It works properly to load cookie files written the old way. I think
>> backward compatibility is ok but forward compatibility is NG. If you mind
>> forward compatibility, I will create a patch which output cookie file is
>> almost the same style. What should I do?
>>
>
> Please make it keep the "old" style of writing files so that files created
> with this new version will be loaded and used fine by older libcurls - for
> maximum use and portability between versions!
>
>
> --
>
> / daniel.haxx.se
> ------------------------------**------------------------------**-------
> List admin: http://cool.haxx.se/list/**listinfo/curl-library<http://cool.haxx.se/list/listinfo/curl-library>
> Etiquette: http://curl.haxx.se/mail/**etiquette.html<http://curl.haxx.se/mail/etiquette.html>
>

-- 
.
________________________________________
The contents of this e-mail message and any attachments are confidential and are intended solely for the addressee. The information may also be legally privileged. 
This transmission is sent in trust, and the sole purpose of delivery to the intended recipient. If you have received this transmission in error, any use, reproduction or dissemination of this transmission is strictly prohibited. 
If you are not the intended recipient, please immediately notify the sender by reply e-mailer and delete this message and its attachments, if any.
Thank you for your cooperation.
________________________________________


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2013-06-11