[Commits] [SCM] claws branch, master, updated. 3.10.1-133-g9b59699

claws at claws-mail.org claws at claws-mail.org
Wed Jul 30 09:31:20 CEST 2014


The branch, master has been updated
       via  9b59699c9ede6cedd022cced9b1afe15aca0ff22 (commit)
      from  3a6a70c7b3fa9288198c2aafc74b6d778b6320cb (commit)

Summary of changes:
 src/unmime.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 9b59699c9ede6cedd022cced9b1afe15aca0ff22
Author: Paul <paul at claws-mail.org>
Date:   Wed Jul 30 08:31:03 2014 +0100

    fix bug 3235, 'Extraneous double quotes inside base64-encoded From header confuse 'Reply' action'

diff --git a/src/unmime.c b/src/unmime.c
index 6dee7f3..2054c14 100644
--- a/src/unmime.c
+++ b/src/unmime.c
@@ -134,7 +134,8 @@ gchar *unmime_header(const gchar *encoded_str, gboolean addr_field)
 		 * We check there are no quotes just to be sure. If there
 		 * are, well, the comma won't pose a problem, probably.
 		 */
-		if (addr_field && strchr(decoded_text, ',') && !in_quote) {
+		if (addr_field && strchr(decoded_text, ',') && !in_quote &&
+		    !strchr(decoded_text, '"')) {
 			gchar *tmp = g_strdup_printf("\"%s\"", decoded_text);
 			g_free(decoded_text);
 			decoded_text = tmp;

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list