Fix nested post params
- use urllib.parse.unquote on form data name and valuepull/22/head
parent
b7b0f76afe
commit
453e1b2a2c
|
@ -64,6 +64,8 @@ class Requester(object):
|
|||
for arg in data.split("&"):
|
||||
regex = re.compile('(.*)=(.*)')
|
||||
for name,value in regex.findall(arg):
|
||||
name = urllib.parse.unquote(name)
|
||||
value = urllib.parse.unquote(value)
|
||||
self.data[name] = value
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue