mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Also catch compiled java classes in the scanner
This commit is contained in:
parent
e1581d0d38
commit
d185e04d9e
1 changed files with 2 additions and 0 deletions
|
@ -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':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue