mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Issue #26717: Merge wsgiref fix from 3.5
This commit is contained in:
commit
d77133b4ce
4 changed files with 29 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue