Merged revisions 87564 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87564 | senthil.kumaran | 2010-12-29 14:25:42 +0800 (Wed, 29 Dec 2010) | 3 lines

  Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.
........
This commit is contained in:
Senthil Kumaran 2010-12-29 06:30:19 +00:00
parent 0df73674e5
commit 559395fde0
3 changed files with 10 additions and 1 deletions

View file

@ -64,7 +64,7 @@ def request_uri(environ, include_query=1):
"""Return the full request URI, optionally including the query string"""
url = application_uri(environ)
from urllib import quote
path_info = quote(environ.get('PATH_INFO',''))
path_info = quote(environ.get('PATH_INFO',''),safe='/;=,')
if not environ.get('SCRIPT_NAME'):
url += path_info[1:]
else: