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 20557 Mangled Cookies on Python 3 Armin Ronacher Aymeric Augustin "The WSGI spec mangles the strings when they go into the environment. This not only affects QUERY_STRING, PATH_INFO and SCRIPT_NAME, it also affects headers that are not latin1. This for instance applies to the HTTP_COOKIE header. When you set a cookie named ``förmlich=""nährhaft""`` with JavaScript, Django will give you a mangled value. The correct solution on Python 3 is to encode it back to latin1 and decode it from utf-8 as browsers do." Bug closed HTTP handling 1.5 Normal fixed Accepted 0 0 0 0 0 0