From fb1169cc5801c1e577dd8d8feb5309c517664714 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 25 Jan 2002 22:41:44 +0000 Subject: Don't check for an @ in the email address. This is to fix bug #10960. 2002-01-25 Jeffrey Stedfast * backend/ebook/e-destination.c (e_destination_is_valid): Don't check for an @ in the email address. This is to fix bug #10960. svn path=/trunk/; revision=15477 --- addressbook/ChangeLog | 5 +++++ addressbook/backend/ebook/e-destination.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index da06d3d2ac..e1bcea47fc 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2002-01-25 Jeffrey Stedfast + + * backend/ebook/e-destination.c (e_destination_is_valid): Don't + check for an @ in the email address. This is to fix bug #10960. + 2002-01-24 Chris Toshok [ fixes bug 16097 ] diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c index b82e616601..9b72a1439a 100644 --- a/addressbook/backend/ebook/e-destination.c +++ b/addressbook/backend/ebook/e-destination.c @@ -358,7 +358,12 @@ e_destination_is_valid (const EDestination *dest) return TRUE; email = e_destination_get_email (dest); - return email && *email && strchr (email, '@'); + + /* FIXME: if we really wanted to get fancy here, we could + check to make sure that the address was valid according to + rfc822's addr-spec grammar. */ + + return email && *email; } gboolean -- cgit v1.2.3