summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2010-03-01 22:35:30 -0800
committerBrendan Cully <brendan@kublai.com>2010-03-01 22:35:30 -0800
commit71360e18f3d7725f96a6b949bfb1d7e494b9842b (patch)
treef2cba1de684bcd683e4495e7e2daf071f6019feb /copy.c
parente20315001bf200f12846f9311b99ffe92f7fbd92 (diff)
Another attempt to dequote RFC2047-encoded address comments (see #2014)
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/copy.c b/copy.c
index 9ddf411b..e3716b72 100644
--- a/copy.c
+++ b/copy.c
@@ -868,6 +868,7 @@ static int address_header_decode (char **h)
int l, rp = 0;
ADDRESS *a = NULL;
+ ADDRESS *cur = NULL;
switch (tolower ((unsigned char) *s))
{
@@ -937,6 +938,8 @@ static int address_header_decode (char **h)
mutt_addrlist_to_local (a);
rfc2047_decode_adrlist (a);
+ for (cur = a; cur; cur = cur->next)
+ rfc822_dequote_comment (a->personal);
/* angle brackets for return path are mandated by RfC5322,
* so leave Return-Path as-is */