[AnyEvent::HTTP] bug while handling cookie

Andrey Khozov avkhozov at googlemail.com
Thu Jul 18 14:41:07 CEST 2013

Good day!

In AnyEvent::HTTP the generation of 'Cookie' header in function
cookie_jar_extract incorrectly handled cookie with domain attribute that
begin with ".".

The following example (https://gist.github.com/avkhozov/6028924) prints an
empty list, but is expected the following list: ['ping = pong'];

A patch that fixes this bug is in an attachment.

Thank you!

Andrey Khozov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20130718/277fdc45/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: HTTP.pm.patch
Type: application/octet-stream
Size: 137 bytes
Desc: not available
URL: <http://lists.schmorp.de/pipermail/anyevent/attachments/20130718/277fdc45/attachment.obj>

More information about the anyevent mailing list