Bug 1506788 - Add pyd and pyo binary extensions to download protection. r=gcp
authorDimi Lee <dlee@mozilla.com>
Thu, 15 Nov 2018 10:17:35 +0000
changeset 503009 83fc4342c255dff83427b1bc5269ff97a371463e
parent 503008 6bea66b73cd229a993f408c9081272eede9d721d
child 503010 59026ada59bd0fe1f7f0299b89069f8e27411ef5
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp
bugs1506788
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1506788 - Add pyd and pyo binary extensions to download protection. r=gcp Differential Revision: https://phabricator.services.mozilla.com/D11750
toolkit/components/reputationservice/ApplicationReputation.cpp
--- a/toolkit/components/reputationservice/ApplicationReputation.cpp
+++ b/toolkit/components/reputationservice/ApplicationReputation.cpp
@@ -595,16 +595,18 @@ static const char* const kBinaryFileExte
     ".ps2", // Windows shell
     ".ps2xml", // Windows shell
     ".psc1", // Windows shell
     ".psc2", // Windows shell
     ".pst", // MS Outlook
     ".pup", // Linux package
     ".py", // Python script
     ".pyc", // Python binary
+    ".pyd", // Equivalent of a DLL, for python libraries
+    ".pyo", // Compiled python code
     ".pyw", // Python GUI
     //".quad",
     //".r00",
     //".r01",
     //".r02",
     //".r03",
     //".r04",
     //".r05",