diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-11-03 12:54:06 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-11-03 13:07:02 +0100 |
| commit | b99707bdedbcbf832bd88eaefd488c841110a222 (patch) | |
| tree | 6e963f4a064d22b245f05303ca42638dae647558 /django/http/multipartparser.py | |
| parent | f12fa7750c95cafa3a317be6a62ed3a2f53caf3c (diff) | |
[1.5.x] Fixed #19101 -- Decoding of non-ASCII POST data on Python 3.
Thanks Claude Paroz.
Backport of 095eca8 from master.
Diffstat (limited to 'django/http/multipartparser.py')
| -rw-r--r-- | django/http/multipartparser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/http/multipartparser.py b/django/http/multipartparser.py index 40aefd6e9d..5bcc874982 100644 --- a/django/http/multipartparser.py +++ b/django/http/multipartparser.py @@ -110,7 +110,7 @@ class MultiPartParser(object): # HTTP spec says that Content-Length >= 0 is valid # handling content-length == 0 before continuing if self._content_length == 0: - return QueryDict(MultiValueDict(), encoding=self._encoding), MultiValueDict() + return QueryDict('', encoding=self._encoding), MultiValueDict() # See if the handler will want to take care of the parsing. # This allows overriding everything if somebody wants it. |
