From d185e04d9e1f3ab86f39f624fd40a5d07b419601 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Tue, 18 Feb 2014 08:32:16 +0100 Subject: [PATCH] Also catch compiled java classes in the scanner --- fdroidserver/common.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 9e4feff6..57156fcb 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -1204,6 +1204,8 @@ def scan_source(build_dir, root_dir, thisbuild): handleproblem('static library', fd, fp) elif mime == 'application/x-executable': handleproblem('binary executable', fd, fp) + elif mime == 'application/x-java-applet': + handleproblem('Java compiled class', fd, fp) elif mime == 'application/jar' and has_extension(fp, 'apk'): removeproblem('APK file', fd, fp) elif mime == 'application/jar': -- 2.30.2