Allow download of compressed attachments.

Assuming all compressed files are malware is a little extreme.

Change-Id: I0ef776f3ad4af1fb73199989c99ab05171353d17
This commit is contained in:
Danny Baumann 2015-06-27 12:57:41 +02:00 committed by Steve Kondik
parent fe527522cf
commit 39e1c44e7c

View File

@ -111,8 +111,6 @@ public class AttachmentUtilities {
"hta", "ins", "isp", "jse", "lib", "mde", "msc", "msp", "hta", "ins", "isp", "jse", "lib", "mde", "msc", "msp",
"mst", "pif", "scr", "sct", "shb", "sys", "vb", "vbe", "mst", "pif", "scr", "sct", "shb", "sys", "vb", "vbe",
"vbs", "vxd", "wsc", "wsf", "wsh", "vbs", "vxd", "wsc", "wsf", "wsh",
// File types of common compression/container formats (again, to avoid malware)
"zip", "gz", "z", "tar", "tgz", "bz2",
}; };
/** /**
* Filename extensions of attachments that can be installed. * Filename extensions of attachments that can be installed.