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
WSGIProxy needs to quote PATH_INFO and QUERY_STRING on Python 3 #7
Comments
lrowe
added a commit
to ENCODE-DCC/encoded
that referenced
this issue
Dec 19, 2014
All but one 'not bdd' test now passes. That error is only a test artefact due to gawel/WSGIProxy2#7. Needed to remove aws as that is blocked by gevent. It can be moved to a separate buildout or virtualenv.
lrowe
added a commit
to ENCODE-DCC/encoded
that referenced
this issue
Dec 19, 2014
All but one 'not bdd' test now passes. That error is only a test artefact due to gawel/WSGIProxy2#7. Needed to remove wal-e as that is blocked by gevent. It can be moved to a separate buildout or virtualenv.
lrowe
added a commit
to ENCODE-DCC/encoded
that referenced
this issue
Dec 19, 2014
All but one test passes. That error is only a test artefact due to gawel/WSGIProxy2#7. Needed to remove wal-e as that is blocked by gevent. It can be moved to a separate buildout or virtualenv.
Also It looks like some server store the original URI. Like gunicorn: |
lrowe
added a commit
to lrowe/WSGIProxy2
that referenced
this issue
Dec 19, 2014
…uoted utf8 characters. Fixes gawel#7. Requires fix from Pylons/webtest#127 in order for debugapp not to raise encoding errors.
lrowe
added a commit
to lrowe/WSGIProxy2
that referenced
this issue
Dec 19, 2014
…cters. Fixes gawel#7. Requires fix from Pylons/webtest#127 in order for debugapp not to raise encoding errors.
@gawel Apache/mod_wsgi has something similar with REQUEST_URI. It could make sense to use it if supplied, though I'm more concerned here with fixing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm using WSGIProxy2 as part of WebTest and am seeing errors when using quoted unicode urls. I'll show the stack of what is going on at the point a UnicodeDecodeError is raised:
The path is unquoted by webob.request.environ_from_url(path) which for Python 3 is::
From pyramid.compat for reference:
We'll have to be careful with the requoting. I'll see if I can unpick those parts soon and add to the ticket.
The text was updated successfully, but these errors were encountered: