[Commits] [SCM] claws branch, master, updated. 4.2.0-101-g2bb4b53bb

paul at claws-mail.org paul at claws-mail.org
Thu May 23 08:56:59 UTC 2024


The branch, master has been updated
       via  2bb4b53bb904ed8923d286698afae0371bd318a1 (commit)
      from  49c041d813fa0d1e02d52c20f8fa22c2fa2e7454 (commit)

Summary of changes:
 src/plugins/fancy/fancy_web_extension.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 2bb4b53bb904ed8923d286698afae0371bd318a1
Author: Paul <paul at claws-mail.org>
Date:   Thu May 23 09:56:54 2024 +0100

    recognise mid and data embedded images too

diff --git a/src/plugins/fancy/fancy_web_extension.c b/src/plugins/fancy/fancy_web_extension.c
index 26072bfa2..6d235adc1 100644
--- a/src/plugins/fancy/fancy_web_extension.c
+++ b/src/plugins/fancy/fancy_web_extension.c
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK based, lightweight, and fast e-mail client
- * Copyright (C) 2022 the Claws Mail team
+ * Copyright (C) 2022-2024 the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -40,12 +40,16 @@ static gboolean web_page_send_request_cb(WebKitWebPage *web_page,
 		return TRUE;
 #if GLIB_CHECK_VERSION(2,66,0)
 	if (strcmp(scheme, "cid") == 0 ||
+	    strcmp(scheme, "mid") == 0 ||
 	    strcmp(scheme, "file") == 0 ||
+	    strcmp(scheme, "data") == 0 ||
 	    strcmp(scheme, "about") == 0)
  		is_remote = FALSE;
 #else
 	if (g_ascii_strcasecmp(scheme, "cid") == 0 ||
+		g_ascii_strcasecmp(scheme, "mid") == 0 ||
 		g_ascii_strcasecmp(scheme, "file") == 0 ||
+		g_ascii_strcasecmp(scheme, "data") == 0 ||
 		g_ascii_strcasecmp(scheme, "about") == 0)
 		is_remote = FALSE;
 	g_free(scheme);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list