summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-07 04:40:32 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-07 04:40:32 +0000
commit4e3b5e64cc80b0a5188788fa6a9c521d14c8d7cd (patch)
treeee2c4c11c575b0b13fb1f5e22c83a51012afc8c2
parenteda74d6837b1d8915a15f1a0598d1ce3c99b5cb0 (diff)
downloadchromium_src-4e3b5e64cc80b0a5188788fa6a9c521d14c8d7cd.zip
chromium_src-4e3b5e64cc80b0a5188788fa6a9c521d14c8d7cd.tar.gz
chromium_src-4e3b5e64cc80b0a5188788fa6a9c521d14c8d7cd.tar.bz2
Add ocx to the dangerous extensions list
BUG=37447 TEST=Serve an .ocx via content-disposition attachment header. Check if the warning message appears. Patch by the great and powerful Inferno. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40859 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/download/download_exe.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/download/download_exe.cc b/chrome/browser/download/download_exe.cc
index 0cafaf8..4e29baa1 100644
--- a/chrome/browser/download/download_exe.cc
+++ b/chrome/browser/download/download_exe.cc
@@ -111,6 +111,7 @@ static const char* const g_executables[] = {
"msi",
"msp",
"mst",
+ "ocx",
"ops",
"pcd",
"pif",