Ticket #20809: urlencode_forced_bytes.diff
File urlencode_forced_bytes.diff, 518 bytes (added by , 11 years ago) |
---|
-
django/http/request.py
diff --git a/django/http/request.py b/django/http/request.py index b7f9d24..e7d4370 100644
a b class QueryDict(MultiValueDict): 400 400 k = force_bytes(k, self.encoding) 401 401 output.extend([encode(k, force_bytes(v, self.encoding)) 402 402 for v in list_]) 403 return '&'.join(output)403 return force_bytes('&'.join(output)) 404 404 405 405 406 406 def build_request_repr(request, path_override=None, GET_override=None,