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