diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-01-26 06:41:44 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-01-26 06:41:44 +0800 |
commit | fb1169cc5801c1e577dd8d8feb5309c517664714 (patch) | |
tree | 0ae055b99ef5aecc937f50fbec9a0e9a878487bb | |
parent | 4158f7bd053fdc20e763243eded656c401d305e3 (diff) | |
download | gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.tar gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.tar.gz gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.tar.bz2 gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.tar.lz gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.tar.xz gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.tar.zst gsoc2013-evolution-fb1169cc5801c1e577dd8d8feb5309c517664714.zip |
Don't check for an @ in the email address. This is to fix bug #10960.
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.
svn path=/trunk/; revision=15477
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-destination.c | 7 |
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 |