Fixing problem with unsafe URIs
This commit is contained in:
parent
c8a2fd8262
commit
981ecc1696
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user