Ticket #19118: path.diff

File path.diff, 619 bytes (added by alex_po, 3 years ago)
  • django/http/__init__.py

    diff --git a/django/http/__init__.py b/django/http/__init__.py
    index ecb3912..a8dac44 100644
    a b class QueryDict(MultiValueDict): 
    387387            encoding = settings.DEFAULT_CHARSET
    388388        self.encoding = encoding
    389389        if six.PY3:
    390             for key, value in parse_qsl(query_string or '',
     390            for key, value in parse_qsl(query_string.decode('utf-8') or '',
    391391                                        keep_blank_values=True,
    392392                                        encoding=encoding):
    393393                self.appendlist(key, value)
Back to Top