Subject: | HTTP::Cookies::Netscape bug in cookie file magic |
Date: | Tue, 16 Mar 2010 20:42:22 +0300 |
To: | bug-libwww-perl [...] rt.cpan.org |
From: | Alex Ignatov <lexszero [...] gmail.com> |
Using Perl-5.10.1, libwww-perl-5.834
HTTP::Cookies::Netscape don't read cookies from cookies file with the following header:
# HTTP cookie file.
# Generated by Wget on 2010-03-16 20:01:49.
# Edit at your own risk.
Fixed with changing first line to "# HTTP Cookie File."
Official Netscape cookie file spec page http://www.netscape.com/newsref/std/cookie_spec.html seems dead, so I don't know if this magic line ever must present.
Maybe just remove magic line checking?