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

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

                Author: ASF GitHub Bot
            Created on: 01/Mar/23 11:12
            Start Date: 01/Mar/23 11:12
    Worklog Time Spent: 10m 
      Work Description: kusalk commented on code in PR #663:
URL: https://github.com/apache/struts/pull/663#discussion_r1121542340


##########
core/src/main/java/org/apache/struts2/dispatcher/filter/StrutsExecuteFilter.java:
##########
@@ -46,14 +51,43 @@ public void init(FilterConfig filterConfig) throws 
ServletException {
 
     protected synchronized void lazyInit() {
         if (execute == null) {
-            InitOperations init = new InitOperations();
+            InitOperations init = createInitOperations();

Review Comment:
   These changes are a port of your [prior 
changes](https://github.com/atlassian/struts/commit/6651089e823d2d2934f0597ab690ea9322f584e3)
 which sadly didn't make it to the two filter setup. They are very useful. 😁





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

    Worklog Id:     (was: 848288)
    Time Spent: 1h  (was: 50m)

> Add configuration option to generate ActionContext even for excluded urls
> -------------------------------------------------------------------------
>
>                 Key: WW-5267
>                 URL: https://issues.apache.org/jira/browse/WW-5267
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.2.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> There are scenarios where you may want to except a request from Struts 
> filtering/processing using `struts.action.excludePattern`, however you may 
> still want that request to undergo filtering such as SiteMesh, which requires 
> the ActionContext to be present.



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

Reply via email to