mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
fix
This commit is contained in:
@@ -249,6 +249,10 @@ def getDocRoot(webApi=None):
|
||||
index = absFilePath.index(pagePath)
|
||||
docRoot = absFilePath[:index]
|
||||
|
||||
if len(docRoot) == 0:
|
||||
docRoot = None
|
||||
continue
|
||||
|
||||
if absFilePathWin:
|
||||
docRoot = "C:/%s" % ntToPosixSlashes(docRoot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user