diff options
author | Dan Winship <danw@src.gnome.org> | 2002-06-06 20:41:14 +0000 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-06-06 20:41:14 +0000 |
commit | 1ff40c5c70d4d649fcb4a07085afbfeabff9b314 (patch) | |
tree | cd4968c554a5e99ce83ad5e002539975e45e8350 | |
parent | b53235972cf7470f7f9eee8212415f944f7fc3a1 (diff) | |
download | evolution-data-server-1ff40c5c70d4d649fcb4a07085afbfeabff9b314.tar.gz |
Parse "From: Dan Winship <danw>" (with no domain) in the way the senderEVOLUTION_1_0_8EVOLUTION_1_0_7
* camel-mime-utils.c (header_decode_mailbox): Parse
"From: Dan Winship <danw>" (with no domain) in the way the sender
meant it, even though it's completely wrong.
-rw-r--r-- | camel/ChangeLog | 6 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index e4cc73ac7..f9a5c7816 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2002-06-05 Dan Winship <danw@ximian.com> + + * camel-mime-utils.c (header_decode_mailbox): Parse + "From: Dan Winship <danw>" (with no domain) in the way the sender + meant it, even though it's completely wrong. + 2002-06-04 Not Zed <NotZed@Ximian.com> * providers/local/camel-local-provider.c: Remove the diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index d32558096..581fd1bff 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -2454,7 +2454,7 @@ header_decode_mailbox(const char **in) dom = header_decode_domain(&inptr); addr = g_string_append(addr, dom); g_free(dom); - } else { + } else if (*inptr != '>' || !closeme) { /* If we get a <, the address was probably a name part, lets try again shall we? */ /* Another fix for seriously-broken-mailers */ if (*inptr && *inptr != ',') { |