[issue26808] wsgiref.simple_server breaks unicode in URIs

Martin Panter report at bugs.python.org
Thu Apr 21 00:42:43 EDT 2016


Martin Panter added the comment:

Graham: On my Linux computer, Curl seems to treat the test “URL” as a string of bytes and doesn’t percent encode it. Therefore you may be affected by Issue 26717 which I fixed the other day. But in real life, URLs are meant to only have literal ASCII characters (even if they encode other characters), so this shouldn’t be a big problem. Compare IRI vs URI. Browsers tend to percent-encode using UTF-8.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26808>
_______________________________________


More information about the Python-bugs-list mailing list