commit 9c2dc86a857c567847a24f5b3184578839ed34c3
parent a9cb9444678747b12e899fa6504e7767981dafaf
Author: Paul <paul@claws-mail.org>
Date: Tue, 18 Apr 2023 11:28:14 +0100
fix bug 4670, 'To/CC incorrectly escaped with a trailing backslash'
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/common/utils.c b/src/common/utils.c
@@ -608,6 +608,7 @@ gchar *escape_internal_quotes(gchar *str, gchar quote_chr)
if (str == NULL || *str == '\0')
return str;
+ g_strstrip(str);
/* search for unescaped quote_chr */
p = str;
if (*p == quote_chr)