mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Minor fix
This commit is contained in:
parent
4e8b41b869
commit
0f581ccb6c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user