From 4b06460b24a28a8729d5af4be4e417bbb70d374d Mon Sep 17 00:00:00 2001 From: pdontthink Date: Sat, 21 Nov 2020 04:00:56 +0000 Subject: [PATCH] Add default ability to view calendar attachments sent as application/ics git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14875 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/attachment_common.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/attachment_common.php b/functions/attachment_common.php index 58d26512..84d25c17 100644 --- a/functions/attachment_common.php +++ b/functions/attachment_common.php @@ -93,6 +93,9 @@ register_attachment_common('text/html', 'link_html'); register_attachment_common('text/x-vcard', 'link_vcard'); register_attachment_common('text/directory', 'link_vcard'); +/* Register ics (calendar) */ +register_attachment_common('application/ics', 'link_text'); + /* Register rules for general types. * These will be used if there isn't a more specific rule available. */ register_attachment_common('text/*', 'link_text'); -- 2.25.1