projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ae395b
)
Quote all specials in name as defined on RFC
author
Ricardo Mones
<ricardo@mones.org>
Mon, 28 Oct 2013 09:52:52 +0000
(10:52 +0100)
committer
Ricardo Mones
<ricardo@mones.org>
Mon, 28 Oct 2013 09:52:52 +0000
(10:52 +0100)
See http://tools.ietf.org/html/rfc5322#section-3.2.3
src/compose.c
patch
|
blob
|
history
diff --git
a/src/compose.c
b/src/compose.c
index 2021d9fbf2d896e8eb5915315071ac763d8f83fd..b36c56dd60a8d291171dab055c854d0d0ba483e2 100644
(file)
--- 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; \
\