diff --git a/doc/THANKS b/doc/THANKS index cb8c4e4a2..0db6cd35d 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -142,6 +142,9 @@ Mounir Idrassi Daliev Ilya for reporting a bug +Prashant Jadhav + for reporting a bug + Dirk Jagdmann for reporting a typo in the documentation diff --git a/lib/takeover/web.py b/lib/takeover/web.py index 6fece8ffe..3f41ca9ae 100644 --- a/lib/takeover/web.py +++ b/lib/takeover/web.py @@ -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("./", "/"))