[issue10753] request_uri method of wsgiref module does not support RFC1808 params.

Senthil Kumaran report at bugs.python.org
Mon Dec 27 19:05:17 CET 2010


Senthil Kumaran <orsenthil at gmail.com> added the comment:

I agree that semi-colon separated segments (params) can be in PATH portion of the url. I was trying to find out, how a path;params would be useful in wsgiref request_uri's PATH_INFO variable , wherein I assumed PATH_INFO should be a file-system path or a method name.

After doing a bit of study, I find that ';' can be part of PATH_INFO in wsgiref compliant servers. I find a couple of bugs related to issues where ';' in PATH_INFO is not handled properly in other systems - http://bit.ly/g4UHhX

So, I think, we can have ';' as safe character so that it is prevented from quoting.

Also, RFC 3986 in Section 3.3 says that ';' '=' and ',' can be considered safe in the PATH component. Should we include those too?

----------

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


More information about the Python-bugs-list mailing list