mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Merge branch 'master' of github.com:sqlmapproject/sqlmap
This commit is contained in:
commit
b35122a42c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue