django1/django/middleware
Colton Hicks f283ffaa84 Fixed #28699 -- Fixed CSRF validation with remote user middleware.
Ensured process_view() always accesses the CSRF token from the session
or cookie, rather than the request, as rotate_token() may have been called
by an authentication middleware during the process_request() phase.
2020-02-26 17:25:20 +01:00
..
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
cache.py Refs #26601 -- Deprecated passing None as get_response arg to middleware classes. 2020-02-18 20:03:44 +01:00
clickjacking.py Fixed #30426 -- Changed X_FRAME_OPTIONS setting default to DENY. 2019-09-09 08:15:26 +02:00
common.py Optimized CommonMiddleware's check for DISALLOWED_USER_AGENTS. 2019-03-30 09:02:57 -04:00
csrf.py Fixed #28699 -- Fixed CSRF validation with remote user middleware. 2020-02-26 17:25:20 +01:00
gzip.py Fixed #30899 -- Lazily compiled import time regular expressions. 2019-10-29 09:22:26 +01:00
http.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
locale.py Fixed #28795 -- Removed 'not in' checks and used dict.setdefault(). 2017-11-14 10:52:52 -05:00
security.py Refs #26601 -- Deprecated passing None as get_response arg to middleware classes. 2020-02-18 20:03:44 +01:00