瀏覽代碼

Support vCards which have the official mime type "text/directory".

Thijs Kinkhorst 22 年之前
父節點
當前提交
ec389b5ecc
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 1
      ChangeLog
  2. 1 0
      functions/attachment_common.php

+ 2 - 1
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
 -------------------

+ 1 - 0
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. */