Changes between Initial Version and Version 2 of Ticket #34709


Ignore:
Timestamp:
Jul 13, 2023, 3:34:37 AM (16 months ago)
Author:
Mariusz Felisiak
Comment:

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.
    22
    33Thanks Eki Xu for the report.
Back to Top