summaryrefslogtreecommitdiff
path: root/django/middleware/common.py
AgeCommit message (Expand)Author
2025-09-03Refs #34989 -- Ensured the Content-Length header is set when redirect with AP...Ronan LE HAY
2024-05-29Fixed 35467 -- Replaced urlparse with urlsplit where appropriate.Jake Howard
2023-12-08Fixed #34742 -- Made CommonMiddleware raise APPEND_SLASH RuntimeError on DELE...Avaneesh Kumar
2022-06-02Fixed #33700 -- Skipped extra resolution for successful requests not ending w...Anders Kaseorg
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2020-10-28Made small readability improvements.Martin Thoma
2020-10-22Fixed #32124 -- Added per-view opt-out for APPEND_SLASH behavior.Carlton Gibson
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2019-03-30Optimized CommonMiddleware's check for DISALLOWED_USER_AGENTS.Brad
2018-08-01Fixed CVE-2018-14574 -- Fixed open redirect possibility in CommonMiddleware.Andreas Hug
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2017-11-11Refs #26447 -- Removed outdated ETag comment in CommonMiddleware.Tim Graham
2017-09-22Refs #26447 -- Removed the USE_ETAGS setting per deprecation timeline.Tim Graham
2017-03-04Refs #27656 -- Updated remaining docstring verbs according to PEP 257.Anton Samarchyan
2017-02-27Imported django.http classes instead of django.http.Asif Saifuddin Auvi
2017-01-30Refs #23919 -- Assumed request COOKIES and META are strClaude Paroz
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2016-11-06Fixed #26812 -- Fixed APPEND_SLASH on a URL including querystring with a trai...Sven Engström
2016-10-10Fixed #26447 -- Deprecated settings.USE_ETAGS in favor of ConditionalGetMiddl...Denis Cornehl
2016-09-10Fixed #27083 -- Added support for weak ETags.Kevin Christopher Henry
2016-07-15Fixed #26765 -- Made CommonMiddleware no longer set an ETag when response has...andrewnester
2016-06-27Fixed #5897 -- Added the Content-Length response header in CommonMiddlewareClaude Paroz
2016-06-04Removed an unused logger in middleware/common.pyTim Graham
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
2016-04-04Fixed W503 flake8 warnings.Tim Graham
2016-03-23Fixed #26293 -- Fixed CommonMiddleware to process PREPEND_WWW and APPEND_SLAS...ieatkittens
2016-03-08Fixed #25971 -- Made BrokenLinkEmailsMiddleware ignore APPEND_SLASH redirects.harikrishnakanchi
2016-02-09Fixed typo in django/middleware/common.py docstring.Liam Brenner
2016-01-05Fixed #26024 -- Fixed regression in ConditionalGetMiddleware ETag support.Denis Cornehl
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
2015-12-10Fixed #25900 -- Fixed regression in CommonMiddleware ETag support.Derek J. Curtis
2015-11-26Fixed #25302 (again) -- Ignored scheme when checking for bad referers.Aymeric Augustin
2015-08-24Fixed #25302 -- Prevented BrokenLinkEmailsMiddleware from reporting 404s when...Maxime Lorant
2015-08-15Fixed #24935 -- Refactored common conditional GET handling.Denis Cornehl
2015-07-31Fixed #24720 -- Avoided resolving URLs that don't end in a slash twice in Com...Jay Cox
2015-06-27Fixed #25017 -- Allowed customizing the DISALLOWED_USER_AGENTS responsesujayskumar
2015-04-21Fixed #24681 -- Removed Unicode bug in BrokenLinkEmailMiddlewareOliver A Bristow
2015-03-26Fixed #19910 -- Added slash to i18n redirect if APPEND_SLASH is set.Bas Peschier
2015-03-18Fixed #23960 -- Removed http.fix_location_headerClaude Paroz
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-29Fixed #24145 -- Added PUT & PATCH to CommonMiddleware APPEND_SLASH redirect e...Samuel Colvin
2014-11-04Fixed #23531 -- Added CommonMiddleware.response_redirect_class.Berker Peksag
2014-03-21Removed settings.SEND_BROKEN_LINK_EMAILS per deprecation timeline.Tim Graham
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
2013-11-28Fixed E125 pep8 warningsChristopher Medrela
2013-10-15Fixed #7603 -- Added a 'scheme' property to the HttpRequest objectUnai Zalakain
2013-06-29Advanced deprecation warnings for Django 1.7.Aymeric Augustin
2013-05-26Replaced `and...or...` constructs with PEP 308 conditional expressions.Ramiro Morales
2013-05-25Fixed #20099 -- Eased subclassing of BrokenLinkEmailsMiddlewareClaude Paroz
2013-05-18Fixed #20356 -- Prevented crash when HTTP_REFERER contains non-asciiClaude Paroz