Closed Bug 175908 Opened 23 years ago Closed 22 years ago

iCal invitations are not accepted by iCal, when opened from MailNews

Categories

(MailNews Core :: Attachments, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pthomsen, Assigned: mscott)

Details

Attachments

(2 files)

Running Mozilla OS X 1.2a (20020910), on a tiBook, 800, with 1G RAM. I have set up a MIME-type that will take '.ics' files (iCal invitations), and open them with iCal. However, when I do that iCal cannot read the invite. I saved the file instead, and compared it to an invite saved from Apple Mail. the difference is in the newline-character used: - Moz MailNews uses \r - Apple Mail uses \n If I hand-edit the file saved from Mozilla, changing '\r' to '\n', the file works in iCal. Not sure what the 'correct' behavior is. On all unices that I know '\n' is the right character... I realize that this is a 'Mac-ism', but it's not working for iCal.
Tried with build 2002102108, problem remains.
Attaching sample file saved from Mozilla MailNews.
'od -c' of the iCal.ics file.
The old Mac OS X line endings problem.
QA Contact: trix → yulian
QA Contact: yulian → stephend
Per, can you still reproduce this problem using a current nightly build?
Does iCal, like Mozilla, use RFC2445 calendar files? Should this file really be MIME:text/calendar?
After scanning RFC 2445, it looks very much like iCal uses it. I saved an ICS file with build 2003021303, and iCal takes it without complaints. So, it seems like it works now.
Comment on attachment 103662 [details] Example iCal.ics file with \r for newlines Fixing MIME type.
Attachment #103662 - Attachment mime type: application/octet-stream → text/calendar
Resolving WFM per comment 7.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: