mirror of
https://github.com/iBotPeaches/Apktool.git
synced 2026-10-12 02:15:58 +00:00
Harden -a smali handling: use CLASSES_FILES_PATTERN in FULL mode
This commit is contained in:
@@ -121,7 +121,7 @@ public class ApkDecoder {
|
||||
boolean noSrc = mConfig.isDecodeSourcesNone();
|
||||
|
||||
for (String fileName : in.getFiles(allSrc)) {
|
||||
if (allSrc ? !fileName.endsWith(".dex") : !ApkInfo.CLASSES_FILES_PATTERN.matcher(fileName).matches()) {
|
||||
if (!ApkInfo.CLASSES_FILES_PATTERN.matcher(fileName).matches()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user