[Tickets #10741] Re: METHOD not allowed in iCal for CalDAV
bugs at horde.org
bugs at horde.org
Wed Nov 30 19:00:54 UTC 2011
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: http://bugs.horde.org/ticket/10741
------------------------------------------------------------------------------
Ticket | 10741
Aktualisiert Von | christof at buergi.lugs.ch
Zusammenfassung | METHOD not allowed in iCal for CalDAV
Warteschlange | Kronolith
Version | 3.0.11
Typ | Bug
Status | Feedback
Priorität | 1. Low
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
christof at buergi.lugs.ch (2011-11-30 19:00) hat geschrieben:
> We only set METHOD in iTip responses.
True, but the method exportvCalendar sets a METHOD:PUBLISH on it's
own, if none is present. Disabling this causes another part of the
code to complain (I haven't figured out, which one).
For now, I just use a regexp to remove the attribute from the text
exportvCalendar returns:
$response = $this->_getClient()->put($url,
preg_replace("/\r\nMETHOD.*?\r\n/","\r\n",$ical->exportvCalendar()),
array('Content-Type' => 'text/calendar'));
More information about the bugs
mailing list