提交 37cea0a5 编写于 作者: D Daniel Beck

[SECURITY-247] Need to call both overloads

上级 1870fb81
......@@ -454,6 +454,7 @@ public class XStream2 extends XStream {
return false;
}
try {
ClassFilter.DEFAULT.check(type);
ClassFilter.DEFAULT.check(type.getName());
} catch (SecurityException se) {
// claim we can convert all the scary stuff so we can throw exceptions when attempting to do so
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册