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
commit 2efe3cec7abd7b07679f84e3dda753d579d409dd Author: Lukasz Lenart <lukaszlen...@apache.org> AuthorDate: Tue Nov 24 07:51:43 2020 +0100 Adds additional excludes packages and uses strict SMI declaration --- core/src/main/resources/struts-default.xml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/core/src/main/resources/struts-default.xml b/core/src/main/resources/struts-default.xml index 8b81cd4..2b305d1 100644 --- a/core/src/main/resources/struts-default.xml +++ b/core/src/main/resources/struts-default.xml @@ -76,7 +76,16 @@ com.opensymphony.xwork2.util., org.apache.tomcat., org.apache.catalina.core., - org.wildfly.extension.undertow.deployment." /> + com.ibm.websphere., + org.apache.geronimo., + org.apache.openejb., + org.apache.tomee., + org.eclipse.jetty., + org.mortbay.jetty., + org.glassfish., + org.jboss.as., + org.wildfly., + weblogic.," /> <bean class="com.opensymphony.xwork2.ObjectFactory" name="struts"/> <bean type="com.opensymphony.xwork2.factory.ResultFactory" name="struts" class="org.apache.struts2.factory.StrutsResultFactory" /> @@ -196,7 +205,7 @@ <bean type="com.opensymphony.xwork2.config.providers.ValueSubstitutor" class="com.opensymphony.xwork2.config.providers.EnvsValueSubstitutor" scope="singleton"/> - <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"/>