mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
fix
This commit is contained in:
parent
0913d700a8
commit
d95a8850c8
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user