karl added the comment: R.david
Trying another patch just for understanding if it's what you meant. What it does: 1. adding an 'explain' keyword 2. escaping the explain message for the body 3. checking for injection of newline in the reason phrase. For the part 3, TODO: check if there are other parts in the library if the reason phrase is injected in the message. ---------- Added file: http://bugs.python.org/file29314/issue-12921-3.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12921> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com