mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
bug fix for error reported by Marek Sarvas (error data)
This commit is contained in:
parent
1d8953ebdb
commit
e0fe5d1504
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user