struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject [44/50] git commit: Adds javax.* to excluded packages
Date Wed, 18 Jun 2014 06:50:01 GMT
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/develop
Commit: 2df72b941186b9c0a2a7fdc84cbf6d3001ec30e9
Parents: 5a5af1b
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Fri May 23 17:36:45 2014 +0200
Committer: Lukasz Lenart <lukaszlenart@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"
/>


Mime
View raw message