mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
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 <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
f405954ea2
commit
96a3ea39ef
@@ -4,10 +4,13 @@ Django 2.2.15 release notes
|
||||
|
||||
*Expected August 3, 2020*
|
||||
|
||||
Django 2.2.15 fixes a bug in 2.2.14.
|
||||
Django 2.2.15 fixes two bugs in 2.2.14.
|
||||
|
||||
Bugfixes
|
||||
========
|
||||
|
||||
* Allowed setting the ``SameSite`` cookie flag in
|
||||
:meth:`.HttpResponse.delete_cookie` (:ticket:`31790`).
|
||||
|
||||
* Fixed crash when sending emails to addresses with display names longer than
|
||||
75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+ (:ticket:`31784`).
|
||||
|
||||
Reference in New Issue
Block a user