django1/django/core/cache/backends
Nick Pope 4b82578a60 Refs #33060 -- Ensured cache backends validate keys.
The validate_key() function should be called after make_key() to ensure
that the validation is performed on the key that will actually be
stored in the cache.

Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-07 11:59:40 +02:00
..
__init__.py Refactored cache from django/core/cache.py into django/core/cache package, with each backend getting a separate module. This keeps things cleaner and uses less memory, because the backend module is only loaded if it's needed. 2006-02-24 06:07:01 +00:00
base.py Fixed #29867 -- Added support for storing None value in caches. 2020-12-17 09:57:21 +01:00
db.py Refs #33060 -- Ensured cache backends validate keys. 2021-09-07 11:59:40 +02:00
dummy.py Refs #33060 -- Added .make_key() in .touch() for dummy cache backend. 2021-09-03 10:36:14 +02:00
filebased.py Fixed CVE-2020-24584 -- Fixed permission escalation in intermediate-level directories of the file system cache on Python 3.7+. 2020-09-01 09:17:23 +02:00
locmem.py Fixed #31907 -- Fixed missing validate_key() calls in cache backends. 2020-08-24 09:41:21 +02:00
memcached.py Refs #33061 -- Removed unnecessary BaseMemcachedCache.decr(). 2021-08-31 10:37:59 +02:00