From 39e1c44e7c35205357223e8d631c1d63509f762c Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Sat, 27 Jun 2015 12:57:41 +0200 Subject: [PATCH] Allow download of compressed attachments. Assuming all compressed files are malware is a little extreme. Change-Id: I0ef776f3ad4af1fb73199989c99ab05171353d17 --- .../com/android/emailcommon/utility/AttachmentUtilities.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/emailcommon/src/com/android/emailcommon/utility/AttachmentUtilities.java b/emailcommon/src/com/android/emailcommon/utility/AttachmentUtilities.java index 407a9034b..d530c7362 100644 --- a/emailcommon/src/com/android/emailcommon/utility/AttachmentUtilities.java +++ b/emailcommon/src/com/android/emailcommon/utility/AttachmentUtilities.java @@ -111,8 +111,6 @@ public class AttachmentUtilities { "hta", "ins", "isp", "jse", "lib", "mde", "msc", "msp", "mst", "pif", "scr", "sct", "shb", "sys", "vb", "vbe", "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.