Issue #26717: Merge wsgiref fix from 3.5

This commit is contained in:
Martin Panter 2016-04-17 02:36:50 +00:00
commit d77133b4ce
4 changed files with 29 additions and 1 deletions

View file

@ -82,7 +82,7 @@ class WSGIRequestHandler(BaseHTTPRequestHandler):
else:
path,query = self.path,''
env['PATH_INFO'] = urllib.parse.unquote_to_bytes(path).decode('iso-8859-1')
env['PATH_INFO'] = urllib.parse.unquote(path, 'iso-8859-1')
env['QUERY_STRING'] = query
host = self.address_string()