kusalk commented on code in PR #1072:
URL: https://github.com/apache/struts/pull/1072#discussion_r1798918429


##########
core/src/test/java/org/apache/struts2/interceptor/parameter/StrutsParameterAnnotationTest.java:
##########
@@ -343,6 +360,14 @@ public Map<String, Pojo> getPublicPojoMapDepthTwo() {
         }
     }
 
-    class Pojo {
+    static class ModelAction implements ModelDriven<Pojo> {

Review Comment:
   I think in such cases, the app developer should manually OGNL allowlist any 
required types, I'm not confident of a secure way to auto allowlist in this case



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to