Thanks for the test case; fixed in tip now. If anything goes wrong what
should happen is a return value of (quote(script_name), quote(path_info)) --
there's no combination of request_uri/script_name/path_info that should
cause an exception (except bugs). As you say, there's no promise that those
2009/9/28 Ian Bicking :
> I tried implementing some code to convert REQUEST_URI (the raw request URL)
> and CGI-style SCRIPT_NAME/PATH_INFO into a raw script_name/path_info.
> http://bitbucket.org/ianb/wsgi-peps/src/tip/request_uri.py (python 2)
> http://bitbucket.org/ianb/wsgi-peps/src/tip/req
I tried implementing some code to convert REQUEST_URI (the raw request URL)
and CGI-style SCRIPT_NAME/PATH_INFO into a raw script_name/path_info.
http://bitbucket.org/ianb/wsgi-peps/src/tip/request_uri.py (python 2)
http://bitbucket.org/ianb/wsgi-peps/src/tip/request_uri3.py (python 3)
Admitte