Correct list of schemes requiring host name.

This commit is contained in:
Bastian Kleineidam 2012-08-12 14:21:56 +02:00
parent 7b567cc378
commit e65b5c72ce

View file

@ -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):
"""