[issue20138] wsgiref on Python 3.x incorrectly implements URL handling causing mangled Unicode

Armin Ronacher report at bugs.python.org
Fri Jan 10 23:59:49 CET 2014


Armin Ronacher added the comment:

> Which version and bugfix release are you using?

You can reproduce it against the current development version of Python 3.

> What is werkzeug and what does it have to do with stdlib urllib?

Werkzeug is a WSGI implementation.

> An stdlib test cannot depend on 3rd party code.

That's why the output values are in the clear so you can remove the werkzeug specific parts.  url_unquote can be replaced with urllib.parse.unquote.  None of that is relevant to the issue here though.  It was just to show that the standard library is currently in violation to PEP 3333.

----------

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


More information about the Python-bugs-list mailing list