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

---
 plugins/zipdownload/config.inc.php.dist |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/plugins/zipdownload/config.inc.php.dist b/plugins/zipdownload/config.inc.php.dist
index 5c7489a..171b4ae 100644
--- a/plugins/zipdownload/config.inc.php.dist
+++ b/plugins/zipdownload/config.inc.php.dist
@@ -7,15 +7,12 @@
 // Zip attachments
 // Only show the link when there are more than this many attachments
 // -1 to prevent downloading of attachments as zip
-$rcmail_config['zipdownload_attachments'] = 1;
-
-// Zip entire folders
-$rcmail_config['zipdownload_folder'] = false;
+$config['zipdownload_attachments'] = 1;
 
 // Zip selection of messages
-$rcmail_config['zipdownload_selection'] = false;
+$config['zipdownload_selection'] = false;
 
 // Charset to use for filenames inside the zip
-$rcmail_config['zipdownload_charset'] = 'ISO-8859-1';
+$config['zipdownload_charset'] = 'ISO-8859-1';
 
 ?>
\ No newline at end of file

--
Gitblit v1.9.1