Bug fix (--forms with --url without protocol)

This commit is contained in:
Miroslav Stampar
2018-12-16 02:56:31 +01:00
parent c7c7e30130
commit f544554475
4 changed files with 12 additions and 5 deletions

View File

@@ -1511,6 +1511,8 @@ def _cleanupOptions():
if conf.url:
conf.url = conf.url.strip()
if not re.search(r"\A\w+://", conf.url):
conf.url = "http://%s" % conf.url
if conf.fileRead:
conf.fileRead = ntToPosixSlashes(normalizePath(conf.fileRead))