mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor fix
This commit is contained in:
@@ -214,7 +214,7 @@ class Web:
|
|||||||
uploaded = False
|
uploaded = False
|
||||||
directory = ntToPosixSlashes(normalizePath(directory))
|
directory = ntToPosixSlashes(normalizePath(directory))
|
||||||
|
|
||||||
if not isWindowsDriveLetterPath(directory) and directory[0] != '/':
|
if not isWindowsDriveLetterPath(directory) and not directory.startswith('/'):
|
||||||
directory = "/%s" % directory
|
directory = "/%s" % directory
|
||||||
else:
|
else:
|
||||||
directory = directory[2:] if isWindowsDriveLetterPath(directory) else directory
|
directory = directory[2:] if isWindowsDriveLetterPath(directory) else directory
|
||||||
|
|||||||
Reference in New Issue
Block a user