mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-24 08:04:44 +00:00
Correct list of schemes requiring host name.
This commit is contained in:
parent
7b567cc378
commit
e65b5c72ce
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ from .const import (WARN_URL_EFFECTIVE_URL,
|
|||
unicode_safe = strformat.unicode_safe
|
||||
|
||||
# schemes that are invalid with an empty hostname
|
||||
scheme_requires_host = ("ftp", "http", "mailto", "news", "nntp", "telnet")
|
||||
scheme_requires_host = ("ftp", "http", "telnet")
|
||||
|
||||
def urljoin (parent, url):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue