[3.1.x] Fixed #31895 -- Fixed crash when decoding invalid session data.

Thanks Matt Hegarty for the report.
Regression in d4fff711d4.
Backport of 4376c2c7f8 from master
This commit is contained in:
Mariusz Felisiak 2020-08-19 12:06:00 +02:00
parent b2fc5292b2
commit 7eaa2776e1
3 changed files with 22 additions and 5 deletions

View file

@ -32,3 +32,6 @@ Bugfixes
* Fixed a data loss possibility, following a regression in Django 2.0, when
copying model instances with a cached fields value (:ticket:`31863`).
* Fixed a regression in Django 3.1 that caused a crash when decoding an invalid
session data (:ticket:`31895`).