diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2020-07-15 07:30:15 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-07-20 08:11:30 +0200 |
| commit | 1a3835fdf364acb3beebccffbc2aa0c1efe66150 (patch) | |
| tree | ab933ad9736c21d6c808c4e993052683dd30b583 /docs | |
| parent | f1a6e6c817f3205ea7da6f973f51524ff630dda5 (diff) | |
[2.2.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 <felisiak.mariusz@gmail.com>
Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.2.15.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/releases/2.2.15.txt b/docs/releases/2.2.15.txt index df26962029..d8ed58b596 100644 --- a/docs/releases/2.2.15.txt +++ b/docs/releases/2.2.15.txt @@ -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`). |
