mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor patch for Python drei
This commit is contained in:
parent
3d01a9106e
commit
95b69d2c61
2 changed files with 2 additions and 1 deletions
|
|
@ -110,6 +110,7 @@ class ReqHandler(BaseHTTPRequestHandler):
|
|||
elif self.data.startswith('<') and self.data.endswith('>'):
|
||||
params.update(dict((_[0], _[1].replace("'", "'").replace(""", '"').replace("<", '<').replace(">", '>').replace("&", '&')) for _ in re.findall(r'name="([^"]+)" value="([^"]*)"', self.data)))
|
||||
else:
|
||||
self.data = self.data.replace(';', '&') # Note: seems that Python3 started ignoring parameter splitting with ';'
|
||||
params.update(parse_qs(self.data))
|
||||
|
||||
for name in self.headers:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue