diff --git a/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java b/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java index 104f5476..acc8785c 100644 --- a/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java +++ b/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java @@ -115,6 +115,8 @@ public class BaseTest { Reader control = new FileReader(new File(sTestOrigDir, path)); Reader test = new FileReader(new File(sTestNewDir, path)); + XMLUnit.setEnableXXEProtection(true); + if (qualifier == null) { XMLUnit.setIgnoreWhitespace(true); XMLUnit.setIgnoreAttributeOrder(true); diff --git a/build.gradle b/build.gradle index 35928076..462867ae 100644 --- a/build.gradle +++ b/build.gradle @@ -28,7 +28,7 @@ buildscript { proguard_gradle: 'com.guardsquare:proguard-gradle:7.3.2', smali : 'com.android.tools.smali:smali:3.0.3', xmlpull : 'xpp3:xpp3:1.1.4c', - xmlunit : 'xmlunit:xmlunit:1.6', + xmlunit : 'org.xmlunit:xmlunit-legacy:2.9.1', ] }