-
Notifications
You must be signed in to change notification settings - Fork 889
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
chokes on %c5 in url #1057
Comments
In reality this exception is caused by the pyramid debugtoolbar trying to unpack the path before it gets to Pyramid proper. I'll enhance the toolbar so it raises a URLDecodeError in this place. That said, if you take the toolbar out of your configuration, you should get a URLDecodeError from Pyramid. |
…e path cannot be decoded; see Pylons/pyramid#1057
I've reconsidered and I now believe an enhancement to webob would be best for this. See Pylons/webob#115. I'm closing this issue now, since I've fixed the pyramid_debugtoolbar issue in master. |
I filed an issue with webob but this does seems to be an issue with Pyramid.
If there's a "%c5" in a url request I get the error
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc5 in position 18: invalid continuation byte
. However, the pyramid docs indicate that I should have gotten a pyramid.exceptions.URLDecodeError instead.I'm using Python 3.3
Here's a full traceback when I just request "/%c5":
The text was updated successfully, but these errors were encountered: