[Tickets #861] NEW: S/MIME Content-Disposition not inline

bugs at bugs.horde.org bugs at bugs.horde.org
Fri Nov 19 09:44:40 PST 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=861
-----------------------------------------------------------------------
 Ticket     | 861
 Created By | ctnpublic-horde at yahoo.com
 Summary    | S/MIME Content-Disposition not inline
 Queue      | Horde Framework Packages
 State      | New
 Priority   | 2. Medium
 Type       | Enhancement
 Owners     | 
-----------------------------------------------------------------------


ctnpublic-horde at yahoo.com (2004-11-19 09:44) wrote:

As generated by Outlook and IMP, an S/MIME message's Content-Disposition is
attachment. As such, framework/MIME/MIME/Contents.php::canDisplayInline()
currently disallows any possibility of such a message being displayed
inline.

Content-Disposition is advisory anyway. Suggest not relying on it to
determine inline-ability, e.g.:

Index: framework/MIME/MIME/Contents.php
===================================================================
RCS file: /repository/framework/MIME/MIME/Contents.php,v
retrieving revision 1.128
diff -r1.128 Contents.php
415,421c415
<         /* First check: The MIME headers allow the part to be inlined. */
<         if ($mime_part->getDisposition() != 'inline') {
<             return false;
<         }
<
<         /* Second check (save the most expensive for last):
<          * Check to see if the driver is set to inline. */
---
>         /* Check to see if the driver is set to inline. */





More information about the bugs mailing list