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.

classification
Title: cookielib.LWPCookieJar incorrectly loads value-less cookies
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: jjlee, loewis
Priority: normal Keywords: patch

Created on 2005-02-06 19:37 by jjlee, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
name_value.patch jjlee, 2005-02-06 19:37
Messages (2)
msg47710 - (view) Author: John J Lee (jjlee) Date: 2005-02-06 19:37
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.
msg47711 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2005-03-03 10:58
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
History
Date User Action Args
2022-04-11 14:56:09adminsetgithub: 41535
2005-02-06 19:37:15jjleecreate