mirror of
https://github.com/apache/struts.git
synced 2026-08-06 15:17:00 +00:00
WW-2815 Drops clearing existing permissions to avoid messing with user provided configuration
This commit is contained in:
@@ -72,9 +72,6 @@ public class XStreamHandler extends AbstractContentTypeHandler {
|
||||
stream = new XStream(new StaxDriver());
|
||||
}
|
||||
|
||||
LOG.debug("Clears existing permissions");
|
||||
stream.addPermission(NoTypePermission.NONE);
|
||||
|
||||
LOG.debug("Adds per action permissions");
|
||||
addPerActionPermission(invocation, stream);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user