[Commits] [SCM] claws branch, master, updated. 4.3.0-21-g8702e6ad4

paul at claws-mail.org paul at claws-mail.org
Wed Jul 24 12:02:59 UTC 2024


The branch, master has been updated
       via  8702e6ad4b0f4247bbdf4e054bfdde828ece7f07 (commit)
      from  316197d1d98873e429599148f15378f38576cde8 (commit)

Summary of changes:
 src/common/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 8702e6ad4b0f4247bbdf4e054bfdde828ece7f07
Author: Paul <paul at claws-mail.org>
Date:   Wed Jul 24 13:02:54 2024 +0100

    better fix for bug 4819

diff --git a/src/common/utils.c b/src/common/utils.c
index 0d1946e6b..1313c0b8b 100644
--- a/src/common/utils.c
+++ b/src/common/utils.c
@@ -1372,7 +1372,7 @@ gint get_uri_len(const gchar *str)
 
 	if (is_uri_string(str)) {
 		for (p = str; *p != '\0'; p++) {
-			if (strchr("<>\" ", *p))
+			if (g_ascii_isspace(*p) || strchr("<>\"", *p))
 				break;
 		}
 		return p - str;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list