mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
fixes #420
This commit is contained in:
parent
2f43c3eb9b
commit
dea62189b2
|
@ -817,7 +817,7 @@ def dataToOutFile(filename, data):
|
|||
retVal = None
|
||||
|
||||
if data:
|
||||
retVal = "%s%s%s" % (conf.filePath, os.sep, filePathToString(filename))
|
||||
retVal = "%s%s%s" % (conf.filePath, os.sep, filePathToSafeString(filename))
|
||||
|
||||
with codecs.open(retVal, "wb", UNICODE_ENCODING) as f:
|
||||
f.write(data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user