Serhiy Storchaka added the comment:

What is wrong with an URL containing '\n'? I suppose that when format a request 
with a text protocol, embedded '\n' can split the request line on two lines and 
inject a new command. The most robust way would be to check whether the 
formatted line contains '\n', '\r', '\0' or other illegal characters.

----------

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

Reply via email to