[issue19451] urlparse accepts invalid hostnames
Daniele Sluijters
report at bugs.python.org
Wed Oct 30 18:35:39 CET 2013
Daniele Sluijters added the comment:
The link you mention only deals with the DNS side of things, this issue is specifically not about that, it's about the URI/URL side of things which is a very important distinction in this case.
I'm also not entirely sure I agree with the sentiment of "it's a mess anyway" so lets ignore the RFC. There's an RFC for a reason and if more implementations started to behave accordingly the mess would clear itself up instead of becoming even more of a nightmare.
I can agree with the practical over strict approach though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19451>
_______________________________________
More information about the Python-bugs-list
mailing list