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 2014/05/23 17:40:03 UTC
git commit: Adds javax.* to excluded packages
Repository: struts
Updated Branches:
refs/heads/feature/exclude-object-class 5a5af1b58 -> 2df72b941
Adds javax.* to excluded packages
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/2df72b94
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/2df72b94
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/2df72b94
Branch: refs/heads/feature/exclude-object-class
Commit: 2df72b941186b9c0a2a7fdc84cbf6d3001ec30e9
Parents: 5a5af1b
Author: Lukasz Lenart <lu...@apache.org>
Authored: Fri May 23 17:36:45 2014 +0200
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Fri May 23 17:36:45 2014 +0200
----------------------------------------------------------------------
core/src/main/resources/struts-default.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/2df72b94/core/src/main/resources/struts-default.xml
----------------------------------------------------------------------
diff --git a/core/src/main/resources/struts-default.xml b/core/src/main/resources/struts-default.xml
index 0275a48..0fe8e68 100644
--- a/core/src/main/resources/struts-default.xml
+++ b/core/src/main/resources/struts-default.xml
@@ -40,7 +40,7 @@
<constant name="struts.excludedClasses" value="java.lang.Object,java.lang.Runtime,ognl.OgnlContext,ognl.MemberAccess,ognl.ClassResolver,ognl.TypeConverter" />
<!-- this must be valid regex, each '.' in package name must be escaped! -->
- <constant name="struts.excludedPackageNamePatterns" value="^java\.lang.*,^ognl.*" />
+ <constant name="struts.excludedPackageNamePatterns" value="^java\.lang.*,^ognl.*,^javax.*" />
<bean class="com.opensymphony.xwork2.ObjectFactory" name="struts"/>
<bean type="com.opensymphony.xwork2.factory.ResultFactory" name="struts" class="org.apache.struts2.factory.StrutsResultFactory" />