aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;