[issue31831] EmailMessage.add_attachment(filename="long or spécial") crashes or produces invalid output

R. David Murray report at bugs.python.org
Sat Oct 21 09:55:37 EDT 2017


R. David Murray <rdmurray at bitdance.com> added the comment:

You are correct, that is a bug.  Presumably I forgot to check for non-ascii when the parameter value doesn't need to be folded.  I'm not sure when I'll have time to look at this, unfortunately :(.  If you can see how to fix it, you could submit a PR against my PR branch, I think.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31831>
_______________________________________


More information about the Python-bugs-list mailing list