mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Images without host are not tracking images
This commit is contained in:
@@ -1056,7 +1056,7 @@ public class HtmlHelper {
|
||||
if (!TextUtils.isEmpty(src) && isTrackingPixel(img)) {
|
||||
Uri uri = Uri.parse(src);
|
||||
String host = uri.getHost();
|
||||
if (host == null || !hosts.contains(host)) {
|
||||
if (host != null && !hosts.contains(host)) {
|
||||
img.attr("src", sb.toString());
|
||||
img.attr("alt", context.getString(R.string.title_legend_tracking_pixel));
|
||||
img.attr("height", "24");
|
||||
|
||||
Reference in New Issue
Block a user