mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Fixes #1621
This commit is contained in:
parent
7411ff93e5
commit
3454e356f9
|
@ -20,13 +20,13 @@ def cleanupVals(text, tag):
|
||||||
text = text.split(',')
|
text = text.split(',')
|
||||||
|
|
||||||
if isinstance(text, basestring):
|
if isinstance(text, basestring):
|
||||||
text = int(text) if text.isdigit() else str(text)
|
text = int(text) if text.isdigit() else text
|
||||||
|
|
||||||
elif isinstance(text, list):
|
elif isinstance(text, list):
|
||||||
count = 0
|
count = 0
|
||||||
|
|
||||||
for _ in text:
|
for _ in text:
|
||||||
text[count] = int(_) if _.isdigit() else str(_)
|
text[count] = int(_) if _.isdigit() else _
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
if len(text) == 1 and tag not in ("clause", "where"):
|
if len(text) == 1 and tag not in ("clause", "where"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user