summaryrefslogtreecommitdiffstats
path: root/Lib/wsgiref
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2010-12-29 06:25:42 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2010-12-29 06:25:42 (GMT)
commit299fa4cb21358c282991917f82e4c2f99aee370b (patch)
treebeaad2c1f35f6934eda28fb1aff9aa0acf34e8c5 /Lib/wsgiref
parentde3aa7fc622800dc730f2844399f7cd567397ea5 (diff)
downloadcpython-299fa4cb21358c282991917f82e4c2f99aee370b.zip
cpython-299fa4cb21358c282991917f82e4c2f99aee370b.tar.gz
cpython-299fa4cb21358c282991917f82e4c2f99aee370b.tar.bz2
Fix Issue 10753 - Don't quote ;=, in the PATH_INFO envvar.
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r--Lib/wsgiref/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/wsgiref/util.py b/Lib/wsgiref/util.py
index ae982f0..1f1e6cc 100644
--- a/Lib/wsgiref/util.py
+++ b/Lib/wsgiref/util.py
@@ -64,7 +64,7 @@ def request_uri(environ, include_query=True):
"""Return the full request URI, optionally including the query string"""
url = application_uri(environ)
from urllib.parse 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: