mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor bug fix
This commit is contained in:
parent
6e0aaafdea
commit
0d92145fc6
|
@ -627,7 +627,7 @@ def getDocRoot():
|
|||
docRoot = "%s%s" % (absFilePath.split(_)[0], _)
|
||||
break
|
||||
|
||||
if pagePath in absFilePath:
|
||||
if pagePath and pagePath in absFilePath:
|
||||
docRoot = absFilePath.split(pagePath)[0]
|
||||
if windowsDriveLetter:
|
||||
docRoot = "%s/%s" % (windowsDriveLetter, ntToPosixSlashes(docRoot))
|
||||
|
|
Loading…
Reference in New Issue
Block a user