Bug 332950

Summary: Exchange meeting invitations: multipart/alternative with a text/calendar
Product: [Unmaintained] trojita Reporter: Jan Kundrát <jkt>
Component: OtherAssignee: Trojita default assignee <trojita-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jan Kundrát 2014-04-02 08:35:41 UTC
Seems that at least one Exchange instance in the world sends meeting invitation like this:

* multipart/alternative
  + text/plain
  + text/html
  + textcalendar

This is of course wrong because the RFC clearly states that a multipart/alternative has parts which should be equal. A machine-readable meeting invitation is a very different beast from a free text input.

The GUI should probably make it clearer that an actual meeting invitation (with all those boring details like when it starts, which was of course absent from the free-form text) is attached. Oh well. Exchange, so nice to meet you.
Comment 1 Jan Kundrát 2014-04-03 12:53:42 UTC
Git commit 87bf9b4df4ef4c03e56503773e2b828bbb3ca66d by Jan Kundrát.
Committed on 02/04/2014 at 14:16.
Pushed by jkt into branch 'master'.

GUI: show a warning for "unknown" multipart/alternative parts

v2: Also provide simple captions for text/plain and text/html MIME types, and
simplify the code by calling setTabIcon instead of repeating the call to
addTab().
REVIEW: 117335

M  +22   -0    src/Gui/PartWidget.cpp

http://commits.kde.org/trojita/87bf9b4df4ef4c03e56503773e2b828bbb3ca66d