mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
Trivial patch regarding #3741
This commit is contained in:
parent
bade832a41
commit
fa1052e8fc
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue