Skip to content

Commit

Permalink
fix: escape special characters in AAB resources (PR #1747)
Browse files Browse the repository at this point in the history
Co-authored-by: bagipro <bugi@macbook-pro-3.local>
  • Loading branch information
bagipro and bagipro committed Dec 13, 2022
1 parent cdc844a commit 07c2b14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void decode(XmlAttribute a) {
}
String name = a.getName();
String value = deobfClassName(a.getValue());
writer.add(name).add("=\"").add(value).add('\"');
writer.add(name).add("=\"").add(StringUtils.escapeXML(value)).add('\"');
memorizePackageName(name, value);
}

Expand Down

0 comments on commit 07c2b14

Please sign in to comment.