aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/ebook/e-destination.c7
2 files changed, 11 insertions, 1 deletions
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 <fejj@ximian.com>
+
+ * 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 <toshok@ximian.com>
[ 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