Add more variants of fake apple URL to ignored ones

This commit is contained in:
Florian Bruhin 2017-08-01 16:00:12 +02:00
parent edc0512102
commit 49b858e359
2 changed files with 4 additions and 1 deletions

View File

@ -185,7 +185,8 @@ class WebHistory(sql.SqlTable):
# http://xn--pple-43d.com/ with
# 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
url = QUrl(url)

View File

@ -281,6 +281,8 @@ def test_import_txt(hist, data_tmpdir, monkeypatch, stubs):
# https://bugreports.qt.io/browse/QTBUG-60364
'12345 http://.com/',
'12345 https://.com/',
'12345 http://www..com/',
'12345 https://www..com/',
# issue #2646