Fixing problem with unsafe URIs

This commit is contained in:
anthony restaino 2017-06-05 20:00:55 -04:00
parent c8a2fd8262
commit 981ecc1696

View File

@ -17,7 +17,7 @@ class FaviconUtils {
Uri uri = Uri.parse(url);
if (uri.getHost() == null || uri.getScheme() == null) {
if (TextUtils.isEmpty(uri.getScheme()) || TextUtils.isEmpty(uri.getHost())) {
return null;
}