aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-10-29 03:15:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-10-29 03:15:12 +0800
commit24b8175a74232d4b8ae850e5012a9317e4f6532a (patch)
treefafc93b3685c4f37b72fc71eef6a490356bc7e50
parent535593e50467d2fcd5f7a2d0d99c28eb0a45a4fc (diff)
downloadgsoc2013-evolution-24b8175a74232d4b8ae850e5012a9317e4f6532a.tar.gz
gsoc2013-evolution-24b8175a74232d4b8ae850e5012a9317e4f6532a.tar.zst
gsoc2013-evolution-24b8175a74232d4b8ae850e5012a9317e4f6532a.zip
We should check List-Post before List-Id (List-Post has to contain the
2003-10-28 Jeffrey Stedfast <fejj@ximian.com> * camel-mime-utils.c: We should check List-Post before List-Id (List-Post has to contain the mailing-list posting address, whereas List-Id does not.) WAlso moved X-Loop to after List-Id to make FreeBSD lusers happy. Fixes bug #32297. svn path=/trunk/; revision=23111
-rw-r--r--camel/ChangeLog7
-rw-r--r--camel/camel-mime-utils.c20
2 files changed, 17 insertions, 10 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index ed7ad1b2f0..1fd44c08d5 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,12 @@
2003-10-28 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-mime-utils.c: We should check List-Post before List-Id
+ (List-Post has to contain the mailing-list posting address,
+ whereas List-Id does not.) WAlso moved X-Loop to after List-Id to
+ make FreeBSD lusers happy. Fixes bug #32297.
+
+2003-10-28 Jeffrey Stedfast <fejj@ximian.com>
+
* Fixes bug #35083
* providers/imap/camel-imap-store.c (connect_to_server): Same
diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c
index 967762dc65..877c444732 100644
--- a/camel/camel-mime-utils.c
+++ b/camel/camel-mime-utils.c
@@ -3861,25 +3861,25 @@ static struct {
char *pattern;
regex_t regex;
} mail_list_magic[] = {
- /* X-Mailing-List: <gnome-hackers@gnome.org> arcive/latest/100 */
- /* X-Mailing-List: gnome-hackers@gnome.org */
- /* X-Mailing-List: gnome-hackers */
- /* X-Mailing-List: <gnome-hackers> */
- { "X-Mailing-List", "[ \t]*<?([^@>]+)@?([^ \n\t\r>]*)" },
- /* X-Loop: gnome-hackers@gnome.org */
- { "X-Loop", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" },
+ /* List-Post: <mailto:gnome-hackers@gnome.org> */
+ /* List-Post: <mailto:gnome-hackers> */
+ { "List-Post", "[ \t]*<mailto:([^@>]+)@?([^ \n\t\r>]*)" },
/* List-Id: GNOME stuff <gnome-hackers.gnome.org> */
/* List-Id: <gnome-hackers.gnome.org> */
/* List-Id: <gnome-hackers> */
/* This old one wasn't very useful: { "List-Id", " *([^<]+)" },*/
{ "List-Id", "[^<]*<([^\\.>]+)\\.?([^ \n\t\r>]*)" },
- /* List-Post: <mailto:gnome-hackers@gnome.org> */
- /* List-Post: <mailto:gnome-hackers> */
- { "List-Post", "[ \t]*<mailto:([^@>]+)@?([^ \n\t\r>]*)" },
/* Mailing-List: list gnome-hackers@gnome.org; contact gnome-hackers-owner@gnome.org */
{ "Mailing-List", "[ \t]*list ([^@]+)@?([^ \n\t\r>;]*)" },
/* Originator: gnome-hackers@gnome.org */
{ "Originator", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" },
+ /* X-Mailing-List: <gnome-hackers@gnome.org> arcive/latest/100 */
+ /* X-Mailing-List: gnome-hackers@gnome.org */
+ /* X-Mailing-List: gnome-hackers */
+ /* X-Mailing-List: <gnome-hackers> */
+ { "X-Mailing-List", "[ \t]*<?([^@>]+)@?([^ \n\t\r>]*)" },
+ /* X-Loop: gnome-hackers@gnome.org */
+ { "X-Loop", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" },
/* X-List: gnome-hackers */
/* X-List: gnome-hackers@gnome.org */
{ "X-List", "[ \t]*([^@]+)@?([^ \n\t\r>]*)" },