aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2004-06-17 23:14:55 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2004-06-17 23:14:55 +0800
commit9c85c50be85ab689fa90b4fd97f3b373967057ab (patch)
treef7c4ce0df6ba96a96b618f7ca7f83536da8558a6 /calendar
parente65a333d1f0c78e86e1181571b2e6e5fd9e9e76a (diff)
downloadgsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.gz
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.tar.zst
gsoc2013-evolution-9c85c50be85ab689fa90b4fd97f3b373967057ab.zip
check for host being non-NULL in soup uri. host can be null for uri's of
2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com> * gui/itip-utils.c (itip_publish_comp) : check for host being non-NULL in soup uri. host can be null for uri's of the form file:/foo or http:/foo etc svn path=/trunk/; revision=26390
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/itip-utils.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 56f7d79e9f..0c95a33edc 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2004-06-17 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * gui/itip-utils.c (itip_publish_comp) : check for
+ host being non-NULL in soup uri. host can be null
+ for uri's of the form file:/foo or http:/foo etc
+
2004-06-17 Rodrigo Moya <rodrigo@novell.com>
Fixes #60309
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index 156dd08026..ce893a48ec 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -1153,7 +1153,7 @@ itip_publish_comp (ECal *client, gchar *uri, gchar *username,
session = soup_session_async_new ();
real_uri = soup_uri_new (uri);
- if (!real_uri) {
+ if (!real_uri || !real_uri->host) {
g_warning (G_STRLOC ": Invalid URL: %s", uri);
g_object_unref (session);
return FALSE;