Comment 95 for bug 849416

Revision history for this message
In , Ben-bucksch (ben-bucksch) wrote :

Created attachment 8600315
Hack to display it as plain text

The last WIP patch doesn't work for me, I still don't see the ICS attachment.
Also, reading the code, it also seems to do something that is wrong or at least debatable according to RFC 2046 5.1.4. <https://www.ietf.org/rfc/rfc2046.txt>:
"What is most critical, however, is that the user not automatically be shown multiple versions of the same data."

At least not normally, text/calendar is an exception due to a bug in Exchange. Exchange uses multipart/alternative, and does not put all information in the plaintext and HTML parts, it only puts the description there and not the date/time and place, so the plaintext part is useless.
As WADA already diagnosed in comment 22, this is a clear violation of Internet standards, which explicitly state that the "content of the various parts are interchangeable."

So, here is a HACK that implements step 1 above: display text/calendar as plain text. It's really ugly, because it's a data format for machines in Field: value form, not for humans. So, I don't consider it very useful for end users, but at least much better than status quo, because it does contain and display all data.