mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fixing few potential problems
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user