Commit Graph

5 Commits

Author SHA1 Message Date
Mariusz Felisiak bdad2adb26 [3.1.x] Added release date for 2.2.15 and 3.0.9.
Backport of b68b8cb89a from master
2020-08-03 08:56:15 +02:00
Florian Apolloner bfe404deb9 [3.1.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 96a3ea39ef from master
2020-07-20 07:15:04 +02:00
Mariusz Felisiak 54dce8148a [3.1.x] Refs #31790 -- Removed incorrect item from 2.2.15 and 3.0.9 release notes.
Django 2.2 and 3.0 don't support settings samesite='None' in
HttpResponse.set_cookie() so fix is not necessary and will not be
backported.
Backport of 9bc8b1ad2d from master
2020-07-16 09:27:39 +02:00
Mariusz Felisiak 3ca8cc0df1 [3.1.x] Fixed #31790 -- Fixed setting SameSite and Secure cookies flags in HttpResponse.delete_cookie().
Cookies with the "SameSite" flag set to None and without the "secure"
flag will be soon rejected by latest browser versions.

This affects sessions and messages cookies.
Backport of 240cbb63bf from master
2020-07-16 08:17:45 +02:00
Mariusz Felisiak 4e3b0f56ba [3.1.x] Added stub release notes for 3.0.9.
Backport of c2a835703f from master
2020-07-01 07:12:40 +02:00