[Commits] [SCM] claws branch, master, updated. 3.9.2-99-g12779b4

mones at claws-mail.org mones at claws-mail.org
Mon Oct 28 10:56:48 CET 2013


The branch master of project "claws" (Claws Mail) has been updated
       via  12779b41a3dffb4c2e3e571c3f85fc5bb6aa6f68 (commit)
      from  3ae395b7c893fe8e535708ae0a46295d52c7f978 (commit)


- Log -----------------------------------------------------------------
commit 12779b41a3dffb4c2e3e571c3f85fc5bb6aa6f68
Author: Ricardo Mones <ricardo at mones.org>
Date:   Mon Oct 28 10:52:52 2013 +0100

    Quote all specials in name as defined on RFC
    
    See http://tools.ietf.org/html/rfc5322#section-3.2.3

diff --git a/src/compose.c b/src/compose.c
index 2021d9f..b36c56d 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -4733,7 +4733,7 @@ compose_current_mail_account(void)
 
 #define QUOTE_IF_REQUIRED(out, str)					\
 {									\
-	if (*str != '"' && strpbrk(str, ",.[]<>")) {			\
+	if (*str != '"' && strpbrk(str, ",.:;[]<>()@\\")) {		\
 		gchar *__tmp;						\
 		gint len;						\
 									\
@@ -4761,7 +4761,7 @@ compose_current_mail_account(void)
 
 #define QUOTE_IF_REQUIRED_NORMAL(out, str, errret)			\
 {									\
-	if (*str != '"' && strpbrk(str, ",.[]<>")) {			\
+	if (*str != '"' && strpbrk(str, ",.:;[]<>()@\\")) {		\
 		gchar *__tmp;						\
 		gint len;						\
 									\

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

Summary of changes:
 src/compose.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list