diff options
Diffstat (limited to 'Lib/wsgiref')
-rw-r--r-- | Lib/wsgiref/util.py | 2 |
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: |