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:
@@ -1011,7 +1011,7 @@ def __saveCmdline():
|
||||
elif datatype == "string":
|
||||
value = ""
|
||||
|
||||
if isinstance(value, str):
|
||||
if isinstance(value, basestring):
|
||||
value = value.replace("\n", "\n ")
|
||||
|
||||
config.set(family, option, value)
|
||||
|
||||
Reference in New Issue
Block a user