[issue7920] urllib2.HTTPRedirectHandler incorrect redirect

Senthil Kumaran report at bugs.python.org
Mon Feb 22 20:48:54 CET 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

I disagree with this bug report.

First the responsibility of checking if something is not  malicious URL lies at the application/client end, urllib in its redirection never urlopen()'s the redirected url, so you are not harmed in anyway.
If you wanted to be extra careful of the BAD Server, you can always subclass the redirection methods and use those handlers.

Closing this bug as won't fix.

----------
assignee:  -> orsenthil
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7920>
_______________________________________


More information about the Python-bugs-list mailing list