[issue22666] email.Header no encoding of unicode strings containing newlines

R. David Murray report at bugs.python.org
Thu Nov 27 20:08:19 CET 2014


R. David Murray added the comment:

I'd have to double check, but I think having /r /n etc encoded in an encopded string is illegal per the rfcs.  It should be, anyway.  So IMO the bug is encoding them at all, but at this point we probably can't fix it for bacward compatibility reasons.

I'm leaving this issue open for the moment because I do want to check the rfc, and also double check what the new API does in this situation (and make sure there are tests).

----------

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


More information about the Python-bugs-list mailing list