From 35036cf977269a06cbc59454e2fba67a00d66f16 Mon Sep 17 00:00:00 2001 From: kink Date: Tue, 4 Mar 2003 10:33:28 +0000 Subject: [PATCH] Support vCards which have the official mime type "text/directory". git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4585 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- ChangeLog | 3 ++- functions/attachment_common.php | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 41abf6d5..1ebd135d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -9,7 +9,7 @@ Version 1.4.0 CVS - Fixed the newmail plugin. - Added RECENT response to sqimap_get_status. - Fixed attachment filename resolving. - - Added check for X-Confirm-Reading-To to make MDN work messages send by Pine. + - Added check for X-Confirm-Reading-To to make MDN work for messages sent by Pine. - sqextractGlobalVar removed (use sqgetGlobalVar instead). - Subfolders of Sent and Drafts show To field instead of From - Updates in conf.pl to infamous delete_folder setting, including @@ -35,6 +35,7 @@ Version 1.4.0 CVS - Allow encoded personal names in compose.php. - Improved address parsing from addresses coming from the compose form. - Fixed uninitialized indices when parsing attachments. + - Support text/directory MIME-type for vCards (RFC 2425). Version 1.4.0 RC 2a ------------------- diff --git a/functions/attachment_common.php b/functions/attachment_common.php index 22b0026d..7d616925 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -61,6 +61,7 @@ register_attachment_common('text/html', 'link_html'); /* Register vcards */ register_attachment_common('text/x-vcard', 'link_vcard'); +register_attachment_common('text/directory', 'link_vcard'); /* Register rules for general types. * These will be used if there isn't a more specific rule available. */ -- 2.25.1