You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2018/06/21 06:20:20 UTC
[struts] branch struts-2-5-x updated: Adds more general exclusion
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch struts-2-5-x
in repository https://gitbox.apache.org/repos/asf/struts.git
The following commit(s) were added to refs/heads/struts-2-5-x by this push:
new 9fcbd91 Adds more general exclusion
9fcbd91 is described below
commit 9fcbd912bc9ba8eed1ca9bc9422daf79d8b2f6ac
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Jun 21 08:20:11 2018 +0200
Adds more general exclusion
---
core/src/main/resources/struts-default.xml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/core/src/main/resources/struts-default.xml b/core/src/main/resources/struts-default.xml
index 01453db..4882804 100644
--- a/core/src/main/resources/struts-default.xml
+++ b/core/src/main/resources/struts-default.xml
@@ -50,7 +50,6 @@
ognl.TypeConverter,
ognl.MemberAccess,
ognl.DefaultMemberAccess,
- com.opensymphony.xwork2.ognl.SecurityMemberAccess,
com.opensymphony.xwork2.ActionContext" />
<!-- this must be valid regex, each '.' in package name must be escaped! -->
@@ -67,7 +66,9 @@
freemarker.ext.rhino.,
freemarker.ext.beans.,
sun.reflect.,
- javassist." />
+ javassist.,
+ com.opensymphony.xwork2.ognl.,
+ com.opensymphony.xwork2.security." />
<bean class="com.opensymphony.xwork2.ObjectFactory" name="struts"/>
<bean type="com.opensymphony.xwork2.factory.ResultFactory" name="struts" class="org.apache.struts2.factory.StrutsResultFactory" />