Ticket #4815: my-patch.2.diff

File my-patch.2.diff, 694 bytes (added by s3x3y1@…, 17 years ago)

Oop.s! THIS is the correct patch!

  • django/http/__init__.py

     
    114114            self.encoding = encoding
    115115        self._mutable = True
    116116        for key, value in parse_qsl((query_string or ''), True): # keep_blank_values=True
    117             self.appendlist(force_unicode(key, errors='replace'), force_unicode(value, errors='replace'))
     117            self.appendlist(force_unicode(key, errors='replace', encoding=self.encoding), force_unicode(value, errors='replace', encoding=self.encoding))
    118118        self._mutable = mutable
    119119
    120120    def _assert_mutable(self):
Back to Top