Commit 84c89421 authored by Ruben De Visscher's avatar Ruben De Visscher

Use latin-1 as decoding in unquote for conformance with PEP 3333

parent 4d7a8452
......@@ -949,7 +949,7 @@ class WSGIHandler(object):
path, query = self.path.split('?', 1)
else:
path, query = self.path, ''
env['PATH_INFO'] = unquote(path)
env['PATH_INFO'] = unquote(path, encoding='latin-1')
env['QUERY_STRING'] = query
if self.headers.typeheader is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment