From 11920e77959deaa65eb86ccc5d39da903fd3dd41 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 25 Aug 2023 21:27:22 +0200 Subject: Fixed #34709 -- Raised BadRequest for non-UTF-8 requests with the application/x-www-form-urlencoded content type. Thanks Eki Xu for the report. --- docs/releases/5.0.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') diff --git a/docs/releases/5.0.txt b/docs/releases/5.0.txt index 0b65ee189a..7379289e42 100644 --- a/docs/releases/5.0.txt +++ b/docs/releases/5.0.txt @@ -580,6 +580,10 @@ Miscellaneous * Executing SQL queries before the app registry has been fully populated now raises :exc:`RuntimeWarning`. +* :exc:`~django.core.exceptions.BadRequest` is raised for non-UTF-8 encoded + requests with the :mimetype:`application/x-www-form-urlencoded` content type. + See :rfc:`1866` for more details. + .. _deprecated-features-5.0: Features deprecated in 5.0 -- cgit v1.3