From 06ea25164a8ab1b26318a4148eb2a9bd7defa66b Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 12 Sep 2013 10:59:44 +0200 Subject: Forward user-agent string to ical exporter to fix Apple's inconvenient handling of location properties --- lib/Kolab/CalDAV/CalendarBackend.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Kolab/CalDAV/CalendarBackend.php b/lib/Kolab/CalDAV/CalendarBackend.php index 4b4a3c1..e9e8504 100644 --- a/lib/Kolab/CalDAV/CalendarBackend.php +++ b/lib/Kolab/CalDAV/CalendarBackend.php @@ -645,6 +645,7 @@ class CalendarBackend extends CalDAV\Backend\AbstractBackend { $ical = libcalendaring::get_ical(); $ical->set_prodid('-//Kolab//iRony DAV Server ' . KOLAB_DAV_VERSION . '//Sabre//Sabre VObject ' . VObject\Version::VERSION . '//EN'); + $ical->set_agent($this->useragent == 'ical' ? 'Apple' : ''); // list attachments as absolute URIs for Thunderbird if ($this->useragent == 'lightning') { -- cgit v0.12