mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-08 05:31:32 +00:00
Minor bug fix
This commit is contained in:
@@ -1376,6 +1376,8 @@ def safeStringFormat(format_, params):
|
|||||||
|
|
||||||
if isinstance(params, basestring):
|
if isinstance(params, basestring):
|
||||||
retVal = retVal.replace("%s", params)
|
retVal = retVal.replace("%s", params)
|
||||||
|
elif not isListLike(params):
|
||||||
|
retVal = retVal.replace("%s", str(params))
|
||||||
else:
|
else:
|
||||||
count, index = 0, 0
|
count, index = 0, 0
|
||||||
while index != -1:
|
while index != -1:
|
||||||
|
|||||||
Reference in New Issue
Block a user