#25986: Django crashes on unicode characters in the local part of an e-mail
address
-------------------------------------+-------------------------------------
Reporter: sergei-maertens | Owner: sergei-
| maertens
Type: Bug | Status: closed
Component: Core (Mail) | Version: 1.9
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ec009ef1d8470f8fdb32802339fe2615e35887a1" ec009ef1]:
{{{
#!CommitTicketReference repository=""
revision="ec009ef1d8470f8fdb32802339fe2615e35887a1"
Fixed #25986 -- Fixed crash sending email with non-ASCII in local part of
the address.
On Python 3, sending emails failed for addresses containing non-ASCII
characters due to the usage of the legacy Python email.utils.formataddr()
function. This is fixed by using the proper Address object on Python 3.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25986#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/073.921a13acfaa852a7f056e812ef397632%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.