diff options
author | Brendan Cully <brendan@kublai.com> | 2010-03-01 22:35:30 -0800 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2010-03-01 22:35:30 -0800 |
commit | 71360e18f3d7725f96a6b949bfb1d7e494b9842b (patch) | |
tree | f2cba1de684bcd683e4495e7e2daf071f6019feb /copy.c | |
parent | e20315001bf200f12846f9311b99ffe92f7fbd92 (diff) |
Another attempt to dequote RFC2047-encoded address comments (see #2014)
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 */ |