From 06ae1bac42c987d3592883cceb55eaaa1be2514f Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Mon, 26 Jan 2004 17:03:22 +0000 Subject: [ fixes #53238 ] make this accept NULL's (and return FALSE for them). 2004-01-26 Chris Toshok [ fixes #53238 ] * util/eab-destination.c (nonempty): make this accept NULL's (and return FALSE for them). (eab_destination_is_empty): shorten some of the tests since nonempty takes NULL now. (eab_destination_get_address): only call camel_internet_address_add if both name and email are non-empty. otherwise call camel_address_decode and let camel try to deal with it. (eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on the strings before adding them to the xml, so people that enter [<>&] won't end up with broken EABDestinations. svn path=/trunk/; revision=24439 --- addressbook/ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'addressbook/ChangeLog') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index ad9e713a44..101e9b777c 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,18 @@ +2004-01-26 Chris Toshok + + [ fixes #53238 ] + * util/eab-destination.c (nonempty): make this accept NULL's (and + return FALSE for them). + (eab_destination_is_empty): shorten some of the tests since + nonempty takes NULL now. + (eab_destination_get_address): only call + camel_internet_address_add if both name and email are non-empty. + otherwise call camel_address_decode and let camel try to deal with + it. + (eab_destination_xml_encode): call xmlEncodeEntitiesReentrant on + the strings before adding them to the xml, so people that enter + [<>&] won't end up with broken EABDestinations. + 2004-01-26 Radek Doulik * gui/widgets/e-addressbook-view.c (selection_received): make sure -- cgit v1.2.3