[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-104-g91f5bbf35
wwp at claws-mail.org
wwp at claws-mail.org
Thu Sep 2 17:24:21 UTC 2021
The branch, gtk3 has been updated
via 91f5bbf35b85f5a39a4d9e65318ca643eef18e2c (commit)
from c7dec0a8709e413161e2a4adf4f923c8654cc00c (commit)
Summary of changes:
src/uri_opener.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 91f5bbf35b85f5a39a4d9e65318ca643eef18e2c
Author: wwp <subscript at free.fr>
Date: Thu Sep 2 19:24:03 2021 +0200
URL dialog: fix phishing attempt condition detection.
diff --git a/src/uri_opener.c b/src/uri_opener.c
index d9d7b4331..e9f204310 100644
--- a/src/uri_opener.c
+++ b/src/uri_opener.c
@@ -294,7 +294,7 @@ static void uri_opener_list_view_insert_uri(GtkWidget *list_view,
gchar *label = NULL;
if (visible && strcmp(visible, uri->uri)) {
- gboolean phishing_attempt = TRUE;
+ gboolean phishing_attempt = FALSE;
if (strcmp(visible, uri->uri) != 0 && is_uri_string(visible)) {
gchar *uri_path;
gchar *visible_uri_path;
@@ -302,7 +302,7 @@ static void uri_opener_list_view_insert_uri(GtkWidget *list_view,
uri_path = get_uri_path(uri->uri);
visible_uri_path = get_uri_path(visible);
if (path_cmp(uri_path, visible_uri_path) != 0)
- phishing_attempt = FALSE;
+ phishing_attempt = TRUE;
}
if (phishing_attempt) {
label = g_markup_printf_escaped("<span color=\"%s\"><b>%s</b></span>\n%s",
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list