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 martin.panter
Recipients ezio.melotti, facundobatista, gregory.p.smith, janik, karlcow, martin.panter, orsenthil
Date 2015-05-23.00:58:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432342732.98.0.74370467722.issue14132@psf.upfronthosting.co.za>
In-reply-to
Content
The proposed patch looks good to me. A test case would be nice though.

Also I wonder why the “malformed URL” logic needs to be in urllib.request. Surely it either belongs in urljoin(), or in the underlying http.client. That needs more thought, but either way the current patch is a definite improvement.
History
Date User Action Args
2015-05-23 00:58:53martin.pantersetrecipients: + martin.panter, facundobatista, gregory.p.smith, orsenthil, ezio.melotti, karlcow, janik
2015-05-23 00:58:52martin.pantersetmessageid: <1432342732.98.0.74370467722.issue14132@psf.upfronthosting.co.za>
2015-05-23 00:58:52martin.panterlinkissue14132 messages
2015-05-23 00:58:52martin.pantercreate