mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixes #3741
This commit is contained in:
parent
90a735e3da
commit
bade832a41
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue