Browse Source

Fixing problem with unsafe URIs

master
anthony restaino 8 years ago
parent
commit
981ecc1696
  1. 2
      app/src/main/java/acr/browser/lightning/favicon/FaviconUtils.java

2
app/src/main/java/acr/browser/lightning/favicon/FaviconUtils.java

@ -17,7 +17,7 @@ class FaviconUtils { @@ -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…
Cancel
Save