mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
bug fix for error reported by Marek Sarvas (error data)
This commit is contained in:
@@ -1354,7 +1354,7 @@ def getPartRun():
|
||||
|
||||
def getUnicode(value):
|
||||
if isinstance(value, basestring):
|
||||
return value if isinstance(value, unicode) else unicode(value, conf.dataEncoding if 'dataEncoding' in conf else "utf-8")
|
||||
return value if isinstance(value, unicode) else unicode(value, conf.dataEncoding if 'dataEncoding' in conf else "utf-8", errors='replace')
|
||||
else:
|
||||
return unicode(value)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user