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 <>
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('\n') will return a tuple ('\n', None), etc.
Date User Action Args
2017-06-28 05:24:27serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, Nam.Nguyen
2017-06-28 05:24:27serhiy.storchakasetmessageid: <>
2017-06-28 05:24:27serhiy.storchakalinkissue30713 messages
2017-06-28 05:24:26serhiy.storchakacreate