mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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:
parent
0df73674e5
commit
559395fde0
3 changed files with 10 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue