mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +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)
|
||||
|
||||
if get:
|
||||
url = "%s?%s" % (url, get)
|
||||
requestMsg += "?%s" % get
|
||||
if '?' in url:
|
||||
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:
|
||||
post = conf.parameters[PLACE.POST]
|
||||
|
|
Loading…
Reference in New Issue
Block a user