Serhiy Storchaka added the comment:

Oh, I didn't expected that newlines can be in a host name. In any case if 
newlines are a problem, it is better to check explicitly whether a host name 
contains CR, LF or other special characters. And it is better to do such checks 
when format a request rather than when parse an URL.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue30500>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to