Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed CVE-2023-24580 -- Prevented DoS with too many uploaded files. | Markus Holtermann | 2023-02-14 | 1 | -1/+2 |
| | | | | Thanks to Jakob Ackermann for the report. | ||||
* | Refs #34118 -- Adopted asgiref coroutine detection shims. | Carlton Gibson | 2022-12-20 | 1 | -3/+2 |
| | | | Thanks to Mariusz Felisiak for review. | ||||
* | Refs #33476 -- Reformatted code with Black. | django-bot | 2022-02-07 | 1 | -17/+52 |
| | |||||
* | Changed django.utils.log.log_response() to take exception instance. | Adam Johnson | 2022-01-12 | 1 | -4/+4 |
| | | | | | | There's little point retrieving a fresh reference to the exception in the legacy tuple format, when it's all available via the exception instance we already have. | ||||
* | Added exception to SuspiciousOperation logging. | Adam Johnson | 2022-01-12 | 1 | -0/+1 |
| | | | This allows better debugging and filtering of errors. | ||||
* | Removed unreachable SystemExit check. | Adam Johnson | 2021-01-19 | 1 | -4/+0 |
| | | | | | | | | | This check dates back to Python <2.5, before Python introduced BaseException to prevent exactly unwarranted catching of SystemExit (and others). response_for_exception() is only called under `except Exception` or `except Http404` so it's now impossible for a SystemExit instance to reach the branch. | ||||
* | Fixed #32128 -- Added asgiref 3.3 compatibility. | Carlton Gibson | 2020-10-27 | 1 | -1/+1 |
| | | | | | Thread sensitive parameter is True by default from asgiref v3.3.0. Added an explicit thread_sensitive=False to previously implicit uses. | ||||
* | Fixed #31962 -- Made SessionMiddleware raise SessionInterrupted when session ↵ | Hasan Ramezani | 2020-09-09 | 1 | -1/+12 |
| | | | | destroyed while request is processing. | ||||
* | Removed unused param_dict return from URLResolver.resolve_error_handler(). | Adam Johnson | 2020-06-22 | 1 | -4/+4 |
| | | | Unused since its introduction in ed114e15106192b22ebb78ef5bf5bce72b419d13. | ||||
* | Fixed #31224 -- Added support for asynchronous views and middleware. | Andrew Godwin | 2020-03-18 | 1 | -8/+21 |
| | | | | | This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. | ||||
* | Corrected docs and removed unused code for got_request_exception signal's ↵ | Tim Graham | 2018-11-20 | 1 | -2/+2 |
| | | | | | | sender argument. Inaccurate since 7d1b69dbe7f72ac04d2513f0468fe2146231b286. | ||||
* | Fixed #26688 -- Fixed HTTP request logging inconsistencies. | Samir Shah | 2018-05-04 | 1 | -14/+17 |
| | | | | | * Added logging of 500 responses for instantiated responses. * Added logging of all 4xx and 5xx responses. | ||||
* | Fixed imports per isort 4.3.1. | Tim Graham | 2018-02-02 | 1 | -1/+2 |
| | | | | Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c. | ||||
* | Fixed imports per isort 4.3.0. | Mariusz Felisiak | 2018-02-01 | 1 | -2/+1 |
| | |||||
* | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | 2017-12-11 | 1 | -1/+1 |
| | |||||
* | Refs #27795 -- Replaced many force_text() with str() | Claude Paroz | 2017-04-27 | 1 | -2/+1 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Fixed #27820 -- Fixed RequestDataTooBig/TooManyFieldsSent crash. | amalia | 2017-02-13 | 1 | -1/+9 |
| | |||||
* | Refs #23919 -- Removed django.utils.decorators.available_attrs() usage. | Tim Graham | 2017-01-21 | 1 | -2/+1 |
| | | | It's only needed to workaround a bug on Python 2. | ||||
* | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | 2017-01-18 | 1 | -2/+0 |
| | |||||
* | Refs #24733 -- Removed support for error views without the exception parameter. | Tim Graham | 2017-01-17 | 1 | -14/+1 |
| | | | | Per deprecation timeline. | ||||
* | Refs #12594 -- Removed obsolete exception handling in ↵ | Tim Graham | 2016-06-24 | 1 | -4/+0 |
| | | | | | handle_uncaught_exception(). Since 859fc020a7c5ce30784d6388858ffbc613ef6612, this is no longer needed. | ||||
* | Refs #24829 -- Made TemplateResponse.content available sooner in exception ↵ | Claude Paroz | 2016-06-24 | 1 | -0/+4 |
| | | | | | | context Thanks Tim Graham for the initial patch. | ||||
* | Refs #26601 -- Improved backwards-compatibility of DEP 5 middleware ↵ | Carl Meyer | 2016-06-17 | 1 | -0/+135 |
exception handling. |