curl-library
Re: [PATCH] cookie path match fail
Date: Tue, 4 Jun 2013 17:53:20 +0900
Hello cURL hackers and Daniel,
I apologize that cookie path match patch was incomplete.
The patch does not support the case that request url path is
/hoge?fuga=xxx, this path means /hoge/index.cgi?fuga=xxx.
The patch could not match received path in neither /hoge nor /hoge/.
So, the policy of a new path are:
- struct Cookie keeps path without most-right '/' except root '/'.
- compare struct Cookie's path and request uri path without path
separator, query
separator or fragment separator.
The new patch is this. https://
github.com/aYasuharuYamada/curl/commit/4ea484ab1bd161e98baf3371ce2e6055b37b3473
Best regards,
thanks
===============
YAMADA Yasuharu
ACCESS CO., LTD.
Yasuharu.Yamada_at_access-company.com
2013/5/21 YAMADA Yasuharu <yasuharu.yamada_at_access-company.com>
> 2013/5/19 Daniel Stenberg <daniel_at_haxx.se>
>
>> Thanks a lot. I merged this, and edited two other test cases that started
>> to fail now.
>>
>
> Woops, sorry. I forgot test other cases.
> Next time I will do others too.
>
> Best regards,
> thanks
> ===============
> YAMADA Yasuharu
> ACCESS CO., LTD.
> Yasuharu.Yamada_at_access-company.com
>
>
>
-- . ________________________________________ 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-04