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 vstinner
Recipients christian.heimes, corona10, ecbftw, giampaolo.rodola, martin.panter, serhiy.storchaka, supl, vstinner
Date 2017-07-21.10:39:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500633589.15.0.123696428724.issue29606@psf.upfronthosting.co.za>
In-reply-to
Content
> Wouldn't be better to solve this issue on the level of the ftplib module or FTP handler in urllib.request instead of urllib.parse?

I'm not sure that it's possible, ftplib gets the wrong hostname parameter. The best place to reject invalid characters is where the URL is parsed, no? See also my bpo-30713.
History
Date User Action Args
2017-07-21 10:39:49vstinnersetrecipients: + vstinner, giampaolo.rodola, christian.heimes, martin.panter, serhiy.storchaka, ecbftw, supl, corona10
2017-07-21 10:39:49vstinnersetmessageid: <1500633589.15.0.123696428724.issue29606@psf.upfronthosting.co.za>
2017-07-21 10:39:49vstinnerlinkissue29606 messages
2017-07-21 10:39:48vstinnercreate