fix bug 4670, 'To/CC incorrectly escaped with a trailing backslash'

This commit is contained in:
Paul 2023-04-18 11:28:14 +01:00
parent a9cb944467
commit 9c2dc86a85

View file

@ -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)