mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-22 22:29:05 +00:00
Fixes #3741
This commit is contained in:
@@ -4240,7 +4240,7 @@ def asciifyUrl(url, forceQuote=False):
|
||||
"""
|
||||
|
||||
parts = _urllib.parse.urlsplit(url)
|
||||
if not parts.scheme or not parts.netloc:
|
||||
if not all((parts.scheme, parts.netloc, parts.hostname)):
|
||||
# apparently not an url
|
||||
return getText(url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user