mirror of
https://github.com/django/django.git
synced 2025-08-15 16:20:37 +00:00
[1.9.x] Fixed #26332 -- Fixed a race condition in BaseCache.get_or_set().
Backport of 96ec67a7cf
from master
This commit is contained in:
parent
809eb5ddee
commit
76926f343a
3 changed files with 17 additions and 6 deletions
|
@ -12,3 +12,7 @@ Bugfixes
|
|||
* Made ``MultiPartParser`` ignore filenames that normalize to an empty string
|
||||
to fix crash in ``MemoryFileUploadHandler`` on specially crafted user input
|
||||
(:ticket:`26325`).
|
||||
|
||||
* Fixed a race condition in ``BaseCache.get_or_set()`` (:ticket:`26332`). It
|
||||
now returns the ``default`` value instead of ``False`` if there's an error
|
||||
when trying to add the value to the cache.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue