[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#273350: icalendar import - case-sensitive



Package: korganizer
Version: 4:3.2.2-2

When opening iCalendar files generated by other applications, korganizer is 
case-sensitive in the property names (eg VERSION, DTSTART), parameter names 
(eg VALUE) and enumerated parameter values (eg DATE).

RFC 2445, section 4.1 specifies "All names of properties, property parameters, 
enumerated property values and property parameter values are 
case-insensitive."

For example, if the VERSION property of the calendar is written
Version:2.0
korganizer will refuse to open the file.

If the DTSTART property of an event is written
dtStart:20040926
or
DTSTART;VALUE=date:20041009
korganizer will discard the event.

If the DTSTART property of and event is written
DTSTART;value=DATE:20040926
korganizer will crash.

Workaround: write names of properties, property parameters and evaluated 
values in upper case.

Suggested solution: make the parser more robust (so it doesn't crash), and 
make it case-insensitive where required by the RFC.

Jiri
-- 
Jiri Baum <jiri@baum.com.au>



Reply to: