chiark / gitweb /
Also catch compiled java classes in the scanner
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 18 Feb 2014 07:32:16 +0000 (08:32 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Tue, 18 Feb 2014 07:32:16 +0000 (08:32 +0100)
fdroidserver/common.py

index 9e4feff69e79e87e702995226ebca67d9821d26c..57156fcb838215fc6d5dd9a1df58db1ec2932488 100644 (file)
@@ -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':