[ 
https://issues.apache.org/jira/browse/WW-5340?focusedWorklogId=882066&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-882066
 ]

ASF GitHub Bot logged work on WW-5340:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Sep/23 06:10
            Start Date: 27/Sep/23 06:10
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart commented on code in PR #747:
URL: https://github.com/apache/struts/pull/747#discussion_r1338086621


##########
core/src/main/java/org/apache/struts2/StrutsConstants.java:
##########
@@ -234,6 +234,8 @@ public final class StrutsConstants {
     /** The name of the parameter to determine whether static field access 
will be allowed in OGNL expressions or not */
     public static final String STRUTS_ALLOW_STATIC_FIELD_ACCESS = 
"struts.ognl.allowStaticFieldAccess";
 
+    public static final String STRUTS_OGNL_GUARD = "struts.ognlGuard";

Review Comment:
   Ah... right :) We need to figure out a better naming at some point for the 
extension points, having that said I'm good :)





Issue Time Tracking
-------------------

    Worklog Id:     (was: 882066)
    Time Spent: 3h 10m  (was: 3h)

> Introduce optional AST node exclusion list
> ------------------------------------------
>
>                 Key: WW-5340
>                 URL: https://issues.apache.org/jira/browse/WW-5340
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.4.0
>
>          Time Spent: 3h 10m
>  Remaining Estimate: 0h
>
> Enhance security by implementing an optional exclusion list (in struts.xml) 
> where applications can specify AST nodes that are not required in their 
> applications or are known to carry higher security risk.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to