mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor fix
This commit is contained in:
parent
f3f752d85c
commit
659c0bb418
|
@ -256,8 +256,8 @@ class Connect(object):
|
|||
socket.setdefaulttimeout(timeout)
|
||||
|
||||
if direct_:
|
||||
if "?" in url:
|
||||
url, params = url.split("?")
|
||||
if '?' in url:
|
||||
url, params = url.split('?', 1)
|
||||
params = urlencode(params)
|
||||
url = "%s?%s" % (url, params)
|
||||
requestMsg += "?%s" % params
|
||||
|
|
Loading…
Reference in New Issue
Block a user