Revision
1528
Author
cdaboo@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

Diff

Modified: CalendarServer/trunk/twistedcaldav/ical.py (1527 => 1528)


--- 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: