-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should wsgi.py unquote path? #177
Comments
+1 On Wednesday, November 19, 2014, Andrew Svetlov [email protected]
|
So, according to the discussions in benoitc/gunicorn#1211 it looks like aiohttp's wsgi implementation should do path unquoting, as does Werkzeug and wsgiref. |
See line https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/wsgi.py#L131
Current code produces error in gunicorn: benoitc/gunicorn#930
IIRC WSGI standard doesn't specifies path unquoting. WSGI library implementations unquotes param internally assuming
environ['PATH_INFO']
is not unquoted string.Any objections to
unquote
removing? @fafhrd91 ?The text was updated successfully, but these errors were encountered: