mhtml: Ignore non-http(s) assets
This commit is contained in:
parent
71533b3456
commit
4f01382c64
@ -288,7 +288,7 @@ class _Downloader():
|
||||
Args:
|
||||
url: The file to download as QUrl.
|
||||
"""
|
||||
if url.scheme() == 'data':
|
||||
if url.scheme() not in {'http', 'https'}:
|
||||
return
|
||||
# Prevent loading an asset twice
|
||||
if url in self.loaded_urls:
|
||||
|
Loading…
Reference in New Issue
Block a user