-
Notifications
You must be signed in to change notification settings - Fork 38
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
qs drops URL Encoded + and & signs #195
Comments
Can you try with 0.25.0 or later? There've been a lot of changes since 0.24.3. |
Confirmed, still a problem in HEAD. |
nevermind, repro'd in 0.25.0 |
:) |
The Aspen request API calls for:
Here's how we get there from WSGI (this is all in
The bug here is in the decoding of |
It looks like
|
|
We have nine network engines. Do any of them |
WSGI is based on CGI, and CGI specifies that QUERY_STRING is percent-encoded. |
gevent and eventlet both give us percent-encoded bytes. |
But the twist on that end is that supposedly MSIE 6-10 gives us UTF-8 bytes for the querystring. I haven't actually seen that myself, and I don't know what (if anything) the various network engines do with those bytes before we get them in Understansing MSIE querystring behavior and Aspen's interaction with it reticketed as #197. |
Okay, let's take it as given that |
@TomiTiihonen I pushed a fix to master. Can you confirm for us whether it works? |
Can confirm the fix works. I tried the master but as mentioned earlier there has been a lot of changes and it broke my config. So ended up just patching the request.py. Thanks for quick response! |
Am I doing something wrong:
qs['q'] value for ?q=1%2B1 comes back '1 1' and not '1+1' as I was expecting?
Version: 0.24.3-dev
OS: Windows XP
Python version: 2.7.3
The text was updated successfully, but these errors were encountered: