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 serhiy.storchaka
Recipients Nam.Nguyen, serhiy.storchaka, vstinner
Date 2017-06-28.05:24:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498627467.1.0.14059471129.issue30713@psf.upfronthosting.co.za>
In-reply-to
Content
First, I think urllib.parse is not the best place for doing such checks. Even if add some checks in urllib.parse, they should be added also at lower level in urllib.request or concrete protocol implementations.

Second, PR 2303 actually doesn't reject arguments with '\n'. splithost('example.org\n') will return a tuple ('example.org\n', None), etc.
History
Date User Action Args
2017-06-28 05:24:27serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, Nam.Nguyen
2017-06-28 05:24:27serhiy.storchakasetmessageid: <1498627467.1.0.14059471129.issue30713@psf.upfronthosting.co.za>
2017-06-28 05:24:27serhiy.storchakalinkissue30713 messages
2017-06-28 05:24:26serhiy.storchakacreate