commit 12779b41a3dffb4c2e3e571c3f85fc5bb6aa6f68
parent 3ae395b7c893fe8e535708ae0a46295d52c7f978
Author: Ricardo Mones <ricardo@mones.org>
Date: Mon, 28 Oct 2013 10:52:52 +0100
Quote all specials in name as defined on RFC
See http://tools.ietf.org/html/rfc5322#section-3.2.3
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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; \
\