Use Brave clean urls file

This commit is contained in:
M66B
2023-12-24 10:49:19 +01:00
parent e37d1605c4
commit 3f6974fea0
6 changed files with 599 additions and 10 deletions

View File

@@ -6367,7 +6367,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
uri = alt;
}
Uri sanitized = UriHelper.sanitize(uri);
Uri sanitized = UriHelper.sanitize(context, uri);
if (sanitized != null && isActivate(sanitized))
uri = sanitized;
else if (title != null) {
@@ -6453,7 +6453,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
boolean link_sanitize = prefs.getBoolean(chost + ".link_sanitize", false);
if (link_sanitize && UriHelper.isHyperLink(uri)) {
Uri sanitized = UriHelper.sanitize(uri);
Uri sanitized = UriHelper.sanitize(context, uri);
if (sanitized != null)
uri = sanitized;
Log.i("Open sanitized=" + uri);