mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
fix regarding proper string isinstance checking (including unicode)
This commit is contained in:
@@ -376,7 +376,7 @@ def getValue(expression, blind=True, inband=True, fromUser=False, expected=None,
|
||||
kb.unionFalseCond = oldParamFalseCond
|
||||
kb.unionNegative = oldParamNegative
|
||||
|
||||
if value and isinstance(value, str):
|
||||
if value and isinstance(value, basestring):
|
||||
value = value.strip()
|
||||
|
||||
return value
|
||||
|
||||
Reference in New Issue
Block a user