evolution-data-server r8457 - in trunk/calendar: . backends/caldav
- From: mcrha svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution-data-server r8457 - in trunk/calendar: . backends/caldav
- Date: Tue, 5 Feb 2008 12:07:35 +0000 (GMT)
Author: mcrha
Date: Tue Feb 5 12:07:35 2008
New Revision: 8457
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8457&view=rev
Log:
2008-02-05 Peteris Krisjanis <pecisk gmail com>
** Fix for bug #514487
* backends/caldav/e-cal-backend-caldav.c: (caldav_server_get_object):
Fix failure to download ics file when additional
information is included in it's MIME
(e.g. "text/calendar; charset=utf-8").
Modified:
trunk/calendar/ChangeLog
trunk/calendar/backends/caldav/e-cal-backend-caldav.c
Modified: trunk/calendar/backends/caldav/e-cal-backend-caldav.c
==============================================================================
--- trunk/calendar/backends/caldav/e-cal-backend-caldav.c (original)
+++ trunk/calendar/backends/caldav/e-cal-backend-caldav.c Tue Feb 5 12:07:35 2008
@@ -1020,7 +1020,7 @@
hdr = soup_message_headers_get (message->response_headers, "Content-Type");
- if (hdr == NULL || g_ascii_strcasecmp (hdr, "text/calendar")) {
+ if (hdr == NULL || g_ascii_strncasecmp (hdr, "text/calendar", 13)) {
result = GNOME_Evolution_Calendar_InvalidObject;
g_object_unref (message);
g_warning ("Object to fetch not of type text/calendar");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]