#34709: charset should be ignored for the application/x-www-form-urlencoded content type. -------------------------------------+------------------------------------- Reporter: Mariusz | Owner: Mariusz Felisiak Felisiak | Type: Bug | Status: assigned Component: HTTP | Version: 4.2 handling | Severity: Normal | Keywords: Triage Stage: Accepted | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- `charset` parameter is [https://github.com/django/django/blob/02966a30dd31d2b9d35f8c481a448b9bf377895e/django/http/request.py#L379-L383 used] in `application/x-www-urlencoded` content type. However, per [https://url.spec.whatwg.org/#application/x-www-form-urlencoded, the current spec] (check out RFC 1866) the content type `application/x-www- form-urlencoded` does not have a `charset` and should be treated as UTF-8.
Thanks Eki Xu for the report. -- Ticket URL: <https://code.djangoproject.com/ticket/34709> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/010701894e43db70-506f2e81-d37a-47ff-94f9-ff700a1d67ec-000000%40eu-central-1.amazonses.com.