summaryrefslogtreecommitdiffstats
path: root/emailcommon
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2015-06-27 12:57:41 +0200
committerSteve Kondik <steve@cyngn.com>2015-10-18 14:06:01 -0700
commit39e1c44e7c35205357223e8d631c1d63509f762c (patch)
tree8cbcccbfaf4dc18b32d79cb617219797bc468f78 /emailcommon
parentfe527522cf67bf1e591eca3117999d6bb37d17ac (diff)
downloadandroid_packages_apps_Email-39e1c44e7c35205357223e8d631c1d63509f762c.tar.gz
android_packages_apps_Email-39e1c44e7c35205357223e8d631c1d63509f762c.tar.bz2
android_packages_apps_Email-39e1c44e7c35205357223e8d631c1d63509f762c.zip
Allow download of compressed attachments.
Assuming all compressed files are malware is a little extreme. Change-Id: I0ef776f3ad4af1fb73199989c99ab05171353d17
Diffstat (limited to 'emailcommon')
-rw-r--r--emailcommon/src/com/android/emailcommon/utility/AttachmentUtilities.java2
1 files changed, 0 insertions, 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.