[Patches] [ python-Patches-1117454 ] cookielib.LWPCookieJar incorrectly loads value-less cookies

SourceForge.net noreply at sourceforge.net
Thu Mar 3 11:58:19 CET 2005


Patches item #1117454, was opened at 2005-02-06 20:37
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1117454&group_id=5470

Category: Library (Lib)
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: cookielib.LWPCookieJar incorrectly loads value-less cookies

Initial Comment:
cookielib.LWPCookieJar contains a couple of lines of
code left over from an earlier incarnation of the
module in which cookies like Set-Cookie: foo were
treated as name-less instead of value-less.  This
causes corruption on loading such cookies from LWP
format files.

The patch fixes this bug and a similar relic that did
not cause an actual bug.  It also adds a comment, and a
new test.

Should be backported to 2.4 maintenance branch.


----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2005-03-03 11:58

Message:
Logged In: YES 
user_id=21627

_LWPCookieJar.py 1.2.2.1
_MozillaCookieJar.py 1.3.2.1
cookielib.py 1.4.2.3
test_cookielib.py 1.1.4.2
NEWS 1.1193.2.27
_LWPCookieJar.py 1.3
_MozillaCookieJar.py 1.4
cookielib.py 1.9
test_cookielib.py 1.3
NEWS 1.1255

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1117454&group_id=5470


More information about the Patches mailing list