Message132009
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. |
|
Date |
User |
Action |
Args |
2011-03-24 17:07:08 | orsenthil | set | recipients:
+ orsenthil, gvanrossum, barry, georg.brandl, pitrou, vstinner, benjamin.peterson, r.david.murray |
2011-03-24 17:07:08 | orsenthil | set | messageid: <1300986428.36.0.508491343001.issue11662@psf.upfronthosting.co.za> |
2011-03-24 17:07:07 | orsenthil | link | issue11662 messages |
2011-03-24 17:07:07 | orsenthil | create | |
|