diff options
| author | Dan Palmer <dan@danpalmer.me> | 2020-05-20 11:45:31 +0200 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2020-06-03 09:24:26 +0200 |
| commit | 2c82414914ae6476be5a166be9ff49c24d0d9069 (patch) | |
| tree | 996ddece0ea23ba50f254cdd36731a312330d344 /django/core/cache/__init__.py | |
| parent | 2dd4d110c159d0c81dff42eaead2c378a0998735 (diff) | |
Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends.
Diffstat (limited to 'django/core/cache/__init__.py')
| -rw-r--r-- | django/core/cache/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/core/cache/__init__.py b/django/core/cache/__init__.py index 735b83e94f..ed72fe88e1 100644 --- a/django/core/cache/__init__.py +++ b/django/core/cache/__init__.py @@ -17,13 +17,13 @@ from asgiref.local import Local from django.conf import settings from django.core import signals from django.core.cache.backends.base import ( - BaseCache, CacheKeyWarning, InvalidCacheBackendError, + BaseCache, CacheKeyWarning, InvalidCacheBackendError, InvalidCacheKey, ) from django.utils.module_loading import import_string __all__ = [ 'cache', 'caches', 'DEFAULT_CACHE_ALIAS', 'InvalidCacheBackendError', - 'CacheKeyWarning', 'BaseCache', + 'CacheKeyWarning', 'BaseCache', 'InvalidCacheKey', ] DEFAULT_CACHE_ALIAS = 'default' |
