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

Kusal Kithul-Godage commented on WW-5267:
-----------------------------------------

Our primary reason for excluding URLs from Struts filtering was to prevent 
Struts from irreversibly consuming the MultiPart upload stream. And although 
these URLs were not Struts actions, we still required the ability to apply the 
SiteMesh filter which in turn required an ActionContext.

I wonder whether WW-5273 changes anything and/or if there is a better solution 
here.

> 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
>
>
> 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