#31784: Emails name over 75 characters are incompatible with the latest 
versions of
python.
-----------------------------+---------------------------------------------
     Reporter:  Nick Orr     |                    Owner:  Florian Apolloner
         Type:  Bug          |                   Status:  closed
    Component:  Core (Mail)  |                  Version:  2.2
     Severity:  Normal       |               Resolution:  fixed
     Keywords:               |             Triage Stage:  Ready for checkin
    Has patch:  1            |      Needs documentation:  0
  Needs tests:  0            |  Patch needs improvement:  0
Easy pickings:  0            |                    UI/UX:  0
-----------------------------+---------------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"ccc088f8ced67a9ea57a6ee1e00964f2cf6baffd" ccc088f8]:
 {{{
 #!CommitTicketReference repository=""
 revision="ccc088f8ced67a9ea57a6ee1e00964f2cf6baffd"
 [3.0.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+,
 3.7.8+, and 3.8.4+.

 Fixed sending emails crash on email addresses with display names longer
 then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+.

 Wrapped display names were passed to email.headerregistry.Address()
 what caused raising an exception because address parts cannot contain
 CR or LF.

 See https://bugs.python.org/issue39073

 Co-Authored-By: Mariusz Felisiak <[email protected]>

 Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31784#comment:21>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.cb5dd413451fe44ddd29b41ca0743e7a%40djangoproject.com.

Reply via email to