未验证 提交 07c2b144 编写于 作者: B bagipro 提交者: GitHub

fix: escape special characters in AAB resources (PR #1747)

Co-authored-by: Nbagipro <bugi@macbook-pro-3.local>
上级 cdc844aa
...@@ -84,7 +84,7 @@ public class ProtoXMLParser { ...@@ -84,7 +84,7 @@ public class ProtoXMLParser {
} }
String name = a.getName(); String name = a.getName();
String value = deobfClassName(a.getValue()); String value = deobfClassName(a.getValue());
writer.add(name).add("=\"").add(value).add('\"'); writer.add(name).add("=\"").add(StringUtils.escapeXML(value)).add('\"');
memorizePackageName(name, value); memorizePackageName(name, value);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册