Do not attempt to create link previews for .onion links.

This commit is contained in:
Greyson Parrelli
2020-08-17 10:27:26 -04:00
parent 086b708cf7
commit 3f7dd21186
2 changed files with 25 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ public class LinkPreviewUtilTest_isLegal {
{ "кц.com", false },
{ "http://asĸ.com", false },
{ "http://foo.кц.рф", false },
{ "https://abcdefg.onion", false },
{ "", false }
});
}