[issue17251] LWPCookieJar load() set domain_specifed wrong

Demian Brecht report at bugs.python.org
Wed Feb 27 00:49:41 CET 2013


Demian Brecht added the comment:

According to some digging around that I've done, this issue may be invalid:

(I couldn't find an RFC or detailed spec of the LWP format, so reading from libwww-perl source @ http://cpansearch.perl.org/src/GAAS/libwww-perl-5.836/lib/HTTP/Cookies.pm)

# Try with a more general domain, alternately stripping
# leading name components and leading dots.  When this
# results in a domain with no leading dot, it is for
# Netscape cookie compatibility only:
#
# a.b.c.net	Any cookie
# .b.c.net	Any cookie
# b.c.net	Netscape cookie only
# .c.net	Any cookie

So, www.domain.com is not a valid LWP domain and therefore, unless I'm missing something, the module is functioning as expected.

----------
nosy: +dbrecht

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17251>
_______________________________________


More information about the Python-bugs-list mailing list