Changes between Initial Version and Version 2 of Ticket #34709
- Timestamp:
- Jul 13, 2023, 3:34:37 AM (16 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #34709 – Description
initial v2 1 `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.1 `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. 2 2 3 3 Thanks Eki Xu for the report.