You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Kusal Kithul-Godage (Jira)" <ji...@apache.org> on 2023/02/15 08:35:00 UTC

[jira] [Commented] (WW-5267) Add configuration option to generate ActionContext even for excluded urls

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