Skip to content

Commit 05b446b

Browse files
committed
Patch for an Issue sqlmapproject#893
1 parent 9652e41 commit 05b446b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/core/target.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from lib.core.common import getUnicode
1818
from lib.core.common import hashDBRetrieve
1919
from lib.core.common import intersect
20+
from lib.core.common import normalizeUnicode
2021
from lib.core.common import paramToDict
2122
from lib.core.common import readInput
2223
from lib.core.common import resetCookieJar
@@ -573,7 +574,7 @@ def _createTargetDirs():
573574

574575
paths.SQLMAP_OUTPUT_PATH = tempDir
575576

576-
conf.outputPath = os.path.join(getUnicode(paths.SQLMAP_OUTPUT_PATH), getUnicode(conf.hostname))
577+
conf.outputPath = os.path.join(getUnicode(paths.SQLMAP_OUTPUT_PATH), normalizeUnicode(getUnicode(conf.hostname)))
577578

578579
if not os.path.isdir(conf.outputPath):
579580
try:

0 commit comments

Comments
 (0)