parent
bf752f6ea4
commit
40be804ee6
@ -160,7 +160,7 @@ def _has_explicit_scheme(url):
|
|||||||
Args:
|
Args:
|
||||||
url: The URL as QUrl.
|
url: The URL as QUrl.
|
||||||
"""
|
"""
|
||||||
return url.isValid() and url.scheme()
|
return url.isValid() and url.scheme() and not url.path().startswith(' ')
|
||||||
|
|
||||||
|
|
||||||
def is_special_url(url):
|
def is_special_url(url):
|
||||||
|
Loading…
Reference in New Issue
Block a user