mirror of
https://github.com/apache/struts.git
synced 2026-08-05 22:56:59 +00:00
WW-5352 Reinstate manual allowlist for generic types
This commit is contained in:
@@ -36,6 +36,12 @@
|
||||
|
||||
<constant name="struts.allowlist.enable" value="true" />
|
||||
<constant name="struts.parameters.requireAnnotations" value="true" />
|
||||
<constant name="struts.allowlist.classes"
|
||||
value="
|
||||
org.apache.struts2.showcase.conversion.OperationsEnum,
|
||||
org.apache.struts2.showcase.conversion.Person,
|
||||
org.apache.struts2.showcase.conversion.Address
|
||||
"/>
|
||||
|
||||
<constant name="struts.convention.package.locators.basePackage" value="org.apache.struts2.showcase" />
|
||||
<constant name="struts.convention.result.path" value="/WEB-INF" />
|
||||
|
||||
Reference in New Issue
Block a user