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 orsenthil
Recipients barry, benjamin.peterson, georg.brandl, gvanrossum, orsenthil, pitrou, r.david.murray, vstinner
Date 2011-03-24.17:07:07
SpamBayes Score 0.00015138727
Marked as misclassified No
Message-id <1300986428.36.0.508491343001.issue11662@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a more complete patch with tests. Please review this. Yes, it is against the default branch (3.x codeline). We can backport this behavior to 2.x codeline.

I have raised an URLError exception when the direct to invalid_schemes is detected.

Also, ftp redirection should be allowed. It is common to see ISO download mirrors which will redirect itself to an ftp url. Also the security report says about allowing to http, https and ftp.

Thanks.
History
Date User Action Args
2011-03-24 17:07:08orsenthilsetrecipients: + orsenthil, gvanrossum, barry, georg.brandl, pitrou, vstinner, benjamin.peterson, r.david.murray
2011-03-24 17:07:08orsenthilsetmessageid: <1300986428.36.0.508491343001.issue11662@psf.upfronthosting.co.za>
2011-03-24 17:07:07orsenthillinkissue11662 messages
2011-03-24 17:07:07orsenthilcreate