id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 13572 QueryDict.copy().encoding is not set correctly adammck nobody "When !QueryDict.copy() is called, a new (mutable) querydict is returned, but its 'encoding' attr is not set. This results in the copy being re-encoded wrongly. For example, this works correctly: {{{ >>> q = QueryDict('foo=bar', encoding='rot_13') >>> q.encoding, q.urlencode() ('foo=bar', 'rot_13') }}} But this is clearly wrong: {{{ >>> q = QueryDict('foo=bar', encoding='rot_13').copy() >>> q.encoding, q.urlencode() ('sbb=one', 'utf-8') }}} Oops! Patch attached, and regression tests which better illustrate the problem." closed HTTP handling dev fixed querydict, mutable, copy, encoding Ready for checkin 1 0 0 0 0 0