mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
fixes #420
This commit is contained in:
parent
2f43c3eb9b
commit
dea62189b2
|
@ -817,7 +817,7 @@ def dataToOutFile(filename, data):
|
||||||
retVal = None
|
retVal = None
|
||||||
|
|
||||||
if data:
|
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:
|
with codecs.open(retVal, "wb", UNICODE_ENCODING) as f:
|
||||||
f.write(data)
|
f.write(data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user