mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
fixing few potential problems
This commit is contained in:
parent
c39d85420a
commit
d06182347f
3 changed files with 6 additions and 5 deletions
|
|
@ -2767,7 +2767,7 @@ def isNoneValue(value):
|
|||
"""
|
||||
|
||||
if isinstance(value, basestring):
|
||||
return value == "None"
|
||||
return value in ("None", "")
|
||||
elif isinstance(value, (list, tuple)):
|
||||
if len(value) == 1:
|
||||
return isNoneValue(value[0])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue