Closed Bug 266108 Opened 20 years ago Closed 20 years ago

vCalendar file format has incorrect line endings - \r\r\n (one \r too many)

Categories

(Calendar :: Sunbird Only, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: alex, Assigned: mostafah)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

I am using 2004091012-cal on XP under firebird.  vCalendar files exported have
one \r too many.  Here is the output of od -xa of one such file:

0000000 4542 4947 3a4e 4356 4c41 4e45 4144 0d52
          B   E   G   I   N   :   V   C   A   L   E   N   D   A   R  cr
0000020 0a0d 4556 5352 4f49 0d4e 0a0d 3a20 2e32
         cr  nl   V   E   R   S   I   O   N  cr  cr  nl  sp   :   2   .
0000040 0d30 0a0d 5250 444f 4449 0d0d 200a 2d3a
          0  cr  cr  nl   P   R   O   D   I   D  cr  cr  nl  sp   :   -
0000060 2f2f 6f4d 697a 6c6c 2e61 726f 2f67 4f4e
          /   /   M   o   z   i   l   l   a   .   o   r   g   /   N   O
0000100 534e 4d47 204c 6f4d 697a 6c6c 2061 6143
          N   S   G   M   L  sp   M   o   z   i   l   l   a  sp   C   a
0000120 656c 646e 7261 5620 2e31 2f30 452f 0d4e
          l   e   n   d   a   r  sp   V   1   .   0   /   /   E   N  cr
0000140 0a0d 4542 4947 3a4e 4556 4556 544e 0d0d
         cr  nl   B   E   G   I   N   :   V   E   V   E   N   T  cr  cr
0000160 550a 4449 0d0d 200a 353a 3631 3962 6132
         nl   U   I   D  cr  cr  nl  sp   :   5   1   6   b   9   2   a
...

This breaks rfc2445 and stops other calendar apps such as korganizer from
recognising the file.

Reproducible: Always
Steps to Reproduce:
Thanks for your report.
I am unable to reproduce this with 20041008-cal

This sounds like Bug 259956, particularly the \r\r\n problem.  A fix was checked
in for that bug on sept 17, after the 20040907 version.  Do you still see the
problem in later builds?
there is a test build for windows dated 20041008 in
http://ftp.mozilla.org/pub/mozilla.org/calendar/xpi/windows/
The problem is not exhibited in the 20041008 build.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in before you can comment on or make changes to this bug.