From 70b8e214a9cf1a2f2545315fee0c6327b3954aec Mon Sep 17 00:00:00 2001 From: sgerwk Date: Sat, 19 Sep 2020 10:11:09 +0200 Subject: [PATCH] do not display downloads of protocol "data:" --- src/dialogs/download.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/dialogs/download.c b/src/dialogs/download.c index 38a53fc7..761f3d28 100644 --- a/src/dialogs/download.c +++ b/src/dialogs/download.c @@ -238,6 +238,9 @@ display_download(struct terminal *term, struct file_download *file_download, if (!is_in_downloads_list(file_download)) return; + if (file_download->uri->protocol == PROTOCOL_DATA) + return; + #ifdef CONFIG_BITTORRENT #define DOWNLOAD_WIDGETS_COUNT 5 #else