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 andyk
Recipients andyk
Date 2008-08-27.17:01:21
SpamBayes Score 0.0012336596
Marked as misclassified No
Message-id <1219856501.23.0.0473308500082.issue3704@psf.upfronthosting.co.za>
In-reply-to
Content
cookielib doesn't handle URLs like "http://server/script?
err=/base/error.html&ok=/base/ok.html", as 
CookieJar::_cookie_from_cookie_tuple uses rfind("/") to strip off the 
end of the URL, returning "http://server/script?
err=/base/error.html&okc=/base" instead of "http://server/script".

My suggested fix (attached, line 1465-1468) is to first strip off 
anything after "?" if present, then continue as with existing code.
History
Date User Action Args
2008-08-27 17:01:42andyksetrecipients: + andyk
2008-08-27 17:01:41andyksetmessageid: <1219856501.23.0.0473308500082.issue3704@psf.upfronthosting.co.za>
2008-08-27 17:01:40andyklinkissue3704 messages
2008-08-27 17:01:39andykcreate