mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Trivial patch regarding #3741
This commit is contained in:
@@ -1597,7 +1597,7 @@ def _cleanupOptions():
|
||||
conf.delay = float(conf.delay)
|
||||
|
||||
if conf.url:
|
||||
conf.url = conf.url.strip()
|
||||
conf.url = conf.url.strip().lstrip('/')
|
||||
if not re.search(r"\A\w+://", conf.url):
|
||||
conf.url = "http://%s" % conf.url
|
||||
|
||||
|
||||
Reference in New Issue
Block a user