From bd0551b22076b82a6d49e9f7a2b2e0c90a1b2326 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Fri, 05 Feb 2016 07:25:27 -0500
Subject: [PATCH] Secure also downloads of addressbook exports, managesieve script exports and Enigma keys exports

---
 config/mimetypes.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/config/mimetypes.php b/config/mimetypes.php
index 7665df3..5fe3467 100644
--- a/config/mimetypes.php
+++ b/config/mimetypes.php
@@ -49,6 +49,8 @@
   'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
   'xps' => 'application/vnd.ms-xpsdocument',
   'rar' => 'application/x-rar-compressed',
+  '7z'  => 'application/x-7z-compressed',
+  's7z' => 'application/x-7z-compressed',
   'vcf' => 'text/vcard',
   'ics' => 'text/calendar',
 );

--
Gitblit v1.9.1