[Calendarserver-maintainers] Bug#569273: Parsing \t (escaped tab character) raises ParseError
Raphael Wimmer
raphael.wimmer at ifi.lmu.de
Thu Feb 11 04:00:42 UTC 2010
Package: python-vobject
Version: 0.8.1c-3
When parsing an iCal file containing "\t" (tab, actually two characters)
using readOne(), the parser raises a ParseError, aborting the parsing.
This defect is _not_ in the upstream source but introduced by Debian patch
"0003-Treat-untils-as-floating.patch", removing this patch fixes the
problem.
I can not see any advantage of raising an exception instead of simply
accepting unknown escaped chars (like in the upstream source).
BTW: is there a reason why 0.8.1.c-3 is not present in the Debian git repo?
Cheers,
Raphael
Test case:
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20080502T160934Z
CREATED:20071005T104029Z
UID:KOrganizer-1534264698.483
SEQUENCE:1
LAST-MODIFIED:20080106T231431Z
DESCRIPTION:Test Text and a Tab: \t and more text
SUMMARY:Test
PRIORITY:3
DTSTART:20071010T090000Z
DTEND:20071010T120000Z
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
More information about the Calendarserver-maintainers
mailing list