mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +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], _)
|
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))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user