mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor bug fix
This commit is contained in:
@@ -627,7 +627,7 @@ def getDocRoot():
|
|||||||
docRoot = "%s%s" % (absFilePath.split(_)[0], _)
|
docRoot = "%s%s" % (absFilePath.split(_)[0], _)
|
||||||
break
|
break
|
||||||
|
|
||||||
if pagePath in absFilePath:
|
if pagePath and pagePath in absFilePath:
|
||||||
docRoot = absFilePath.split(pagePath)[0]
|
docRoot = absFilePath.split(pagePath)[0]
|
||||||
if windowsDriveLetter:
|
if windowsDriveLetter:
|
||||||
docRoot = "%s/%s" % (windowsDriveLetter, ntToPosixSlashes(docRoot))
|
docRoot = "%s/%s" % (windowsDriveLetter, ntToPosixSlashes(docRoot))
|
||||||
|
|||||||
Reference in New Issue
Block a user