[issue19996] httplib infinite read on invalid header

Jason Robinson report at bugs.python.org
Sat Aug 2 11:27:20 CEST 2014


Jason Robinson added the comment:

I took the patches and verified that;

* running the new tests without the changed code in Lib/email/feedparser.py (head) and Lib/httplib.py, Lib/rfc822.py (2.7) fails both the new tests.
* running the new tests with the changed code passes the tests (on both head and 2.7).

Sainsburys Bank site seems to have been fixed thus verification in the first comment does not work - but the test I think emulates that well enough.

----------
nosy: +ezio.melotti, jaywink
versions: +Python 3.5

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


More information about the Python-bugs-list mailing list