File fix-incorrectly-escaped-to-cc.patch of Package claws-mail.18313

From: Paul <paul@claws-mail.org>
Date: Tue, 18 Apr 2023 11:28:14 +0100
Subject: fix bug 4670, 'To/CC incorrectly escaped with a trailing backslash'
Git-commit: 9c2dc86a857c567847a24f5b3184578839ed34c3A
Patch-mainline: 4.2.0
References: https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4670
---
 src/common/utils.c |    1 +
 1 file changed, 1 insertion(+)

--- claws-mail-4.1.1.orig/src/common/utils.c
+++ claws-mail-4.1.1/src/common/utils.c
@@ -608,6 +608,7 @@ gchar *escape_internal_quotes(gchar *str
 	if (str == NULL || *str == '\0')
 		return str;
 
+	g_strstrip(str);
 	/* search for unescaped quote_chr */
 	p = str;
 	if (*p == quote_chr)
openSUSE Build Service is sponsored by