From: Daniel Martí Date: Tue, 18 Feb 2014 07:32:16 +0000 (+0100) Subject: Also catch compiled java classes in the scanner X-Git-Tag: 0.2~256 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=d185e04d9e1f3ab86f39f624fd40a5d07b419601;p=fdroidserver.git Also catch compiled java classes in the scanner --- 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':