Add more variants of fake apple URL to ignored ones
This commit is contained in:
parent
edc0512102
commit
49b858e359
@ -185,7 +185,8 @@ class WebHistory(sql.SqlTable):
|
|||||||
|
|
||||||
# http://xn--pple-43d.com/ with
|
# http://xn--pple-43d.com/ with
|
||||||
# https://bugreports.qt.io/browse/QTBUG-60364
|
# https://bugreports.qt.io/browse/QTBUG-60364
|
||||||
if url in ['http://.com/', 'https://www..com/']:
|
if url in ['http://.com/', 'https://.com/',
|
||||||
|
'http://www..com/', 'https://www..com/']:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
url = QUrl(url)
|
url = QUrl(url)
|
||||||
|
@ -281,6 +281,8 @@ def test_import_txt(hist, data_tmpdir, monkeypatch, stubs):
|
|||||||
|
|
||||||
# https://bugreports.qt.io/browse/QTBUG-60364
|
# https://bugreports.qt.io/browse/QTBUG-60364
|
||||||
'12345 http://.com/',
|
'12345 http://.com/',
|
||||||
|
'12345 https://.com/',
|
||||||
|
'12345 http://www..com/',
|
||||||
'12345 https://www..com/',
|
'12345 https://www..com/',
|
||||||
|
|
||||||
# issue #2646
|
# issue #2646
|
||||||
|
Loading…
Reference in New Issue
Block a user