mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
probable fix for a bug reported by Prashant Jadhav
This commit is contained in:
parent
cf8e92699c
commit
87abec16bd
|
@ -142,6 +142,9 @@ Mounir Idrassi <mounir.idrassi@idrix.net>
|
|||
Daliev Ilya <daliser@yandex.ru>
|
||||
for reporting a bug
|
||||
|
||||
Prashant Jadhav <prashantjadhav.82@gmail.com>
|
||||
for reporting a bug
|
||||
|
||||
Dirk Jagdmann <doj@cubic.org>
|
||||
for reporting a typo in the documentation
|
||||
|
||||
|
|
|
@ -192,6 +192,9 @@ class Web:
|
|||
|
||||
requestDir = normalizePath(requestDir)
|
||||
|
||||
if requestDir[0] != '/':
|
||||
requestDir = '/' + requestDir
|
||||
|
||||
self.webBaseUrl = "%s://%s:%d%s" % (conf.scheme, conf.hostname, conf.port, requestDir)
|
||||
self.webUploaderUrl = "%s/%s" % (self.webBaseUrl.rstrip('/'), uploaderName)
|
||||
self.webUploaderUrl = ntToPosixSlashes(self.webUploaderUrl.replace("./", "/"))
|
||||
|
|
Loading…
Reference in New Issue
Block a user