[Korganizer-devel] [Bug 140650] New: Folding breaks local iCal files (Only LF + space instead of CRLF + space)

Guido Diepen guidodiepen at gmail.com
Fri Jan 26 10:11:11 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140650         
           Summary: Folding breaks local iCal files (Only LF + space instead
                    of CRLF + space)
           Product: korganizer
           Version: unspecified
          Platform: Debian testing
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: korganizer-devel kde org
        ReportedBy: guidodiepen gmail com


Version:            (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages

The iCal specification states that long lines should be folded in the following way:
This is a long line that continues[CRLF]
[ws]on a second line

where [ws] is white space.


KOrganizer handles it currently like this for local files:
This is a long line that continues[LF]
[ws]on a second line



Previously I was making use of a remote iCal file through webDav, and then it is implemented perfectly. For testing purposes, I changed to a local iCal file for the moment and I found out that reading the iCal file works perfect: all items are displayed in KOrganizer. But when I change one of the items, the iCal file is rewritten to disk and the folding part breaks the iCal specifications since only a LF followed by a white space is used for folding the long lines. When I try to read this file with another program it gives an error that an unknown PROPERTY has been introduced.

Possible solution is to add CRLF for cases where you are folding and otherwise only the line-separator that is default for the current OS.

Regards,

Guido Diepen


More information about the Korganizer-devel mailing list