[CalendarServer-changes] [1528] CalendarServer/trunk/twistedcaldav/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Tue May 15 10:36:25 PDT 2007


Revision: 1528
          http://trac.macosforge.org/projects/calendarserver/changeset/1528
Author:   cdaboo at apple.com
Date:     2007-05-15 10:36:25 -0700 (Tue, 15 May 2007)

Log Message:
-----------
Revert r1524. Actually iTIP requires that there is no VTIMEZONE in a VFREEBUSY request. The client must not send one so the
server is right to verify that.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/ical.py

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2007-05-15 16:15:23 UTC (rev 1527)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2007-05-15 17:36:25 UTC (rev 1528)
@@ -879,7 +879,7 @@
                 # TODO: verify REQUEST/VFREEBUSY as being OK
                 
                 # Only one VFREEBUSY (actually multiple X-'s are allowed but we will reject)
-                if len([c for c in self.subcomponents() if c.name() != "VTIMEZONE"]) != 1:
+                if len([c for c in self.subcomponents()]) != 1:
                     return False
 
         except ValueError:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070515/22709b62/attachment.html


More information about the calendarserver-changes mailing list