mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-18 12:03:14 +03:00
Minor bug fix
This commit is contained in:
parent
da737d23ed
commit
c2b2ccd2b5
|
@ -304,8 +304,12 @@ class Connect(object):
|
||||||
get = urlencode(get, limit=True)
|
get = urlencode(get, limit=True)
|
||||||
|
|
||||||
if get:
|
if get:
|
||||||
url = "%s?%s" % (url, get)
|
if '?' in url:
|
||||||
requestMsg += "?%s" % get
|
url = "%s%s%s" % (url, DEFAULT_GET_POST_DELIMITER, get)
|
||||||
|
requestMsg += "%s%s" % (DEFAULT_GET_POST_DELIMITER, get)
|
||||||
|
else:
|
||||||
|
url = "%s?%s" % (url, get)
|
||||||
|
requestMsg += "?%s" % get
|
||||||
|
|
||||||
if PLACE.POST in conf.parameters and not post and method != HTTPMETHOD.GET:
|
if PLACE.POST in conf.parameters and not post and method != HTTPMETHOD.GET:
|
||||||
post = conf.parameters[PLACE.POST]
|
post = conf.parameters[PLACE.POST]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user