Enables Strict DMI by default

Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/e9e6ae90
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/e9e6ae90
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/e9e6ae90

Branch: refs/heads/master
Commit: e9e6ae90e6d7efc931b1738c55fa052045b7bef5
Parents: 3ccd730
Author: Lukasz Lenart <lukasz.len...@gmail.com>
Authored: Fri Sep 4 11:44:44 2015 +0200
Committer: Lukasz Lenart <lukasz.len...@gmail.com>
Committed: Fri Sep 4 11:44:44 2015 +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/e9e6ae90/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 f1684e5..2dd6b75 100644
--- a/core/src/main/resources/struts-default.xml
+++ b/core/src/main/resources/struts-default.xml
@@ -165,7 +165,7 @@
     <bean type="com.opensymphony.xwork2.security.ExcludedPatternsChecker" 
name="struts" 
class="com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker" 
scope="prototype" />
     <bean type="com.opensymphony.xwork2.security.AcceptedPatternsChecker" 
name="struts" 
class="com.opensymphony.xwork2.security.DefaultAcceptedPatternsChecker" 
scope="prototype" />
 
-    <package name="struts-default" abstract="true">
+    <package name="struts-default" abstract="true" 
strict-method-invocation="true">
         <result-types>
             <result-type name="chain" 
class="com.opensymphony.xwork2.ActionChainResult"/>
             <result-type name="dispatcher" 
class="org.apache.struts2.result.ServletDispatcherResult" default="true"/>

Reply via email to