This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author demian.brecht
Recipients B. Kyven, demian.brecht, maxy@debian.org
Date 2013-02-27.07:01:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361948475.5.0.651919163884.issue17251@psf.upfronthosting.co.za>
In-reply-to
Content
That was silly of me. What I /meant/ to say was that, for this specific report, it's functioning as expected. However, the logic in LWPCookieJar isn't entirely correct. As noted in the comments from libwww-perl, the reported URL is in fact, an invalid LWP cookie. What's missing is the logic to deal with other, valid cookies. 

domain_specified = domain.starts_with('.') is incorrect as a four part domain name (a.b.c.d) /is/ a valid LWP domain.

This should likely be patched.

Another question that I have though, is why is LWPCookieJar even part of the stdlib? It's relatively well documented that it is not known to be compatible with any browser. I'm curious as to how heavily used it is and what the rational was to include it (dev might be a better place to ask this, I'm not sure).
History
Date User Action Args
2013-02-27 07:01:15demian.brechtsetrecipients: + demian.brecht, maxy@debian.org, B. Kyven
2013-02-27 07:01:15demian.brechtsetmessageid: <1361948475.5.0.651919163884.issue17251@psf.upfronthosting.co.za>
2013-02-27 07:01:15demian.brechtlinkissue17251 messages
2013-02-27 07:01:15demian.brechtcreate