[
https://issues.apache.org/struts/browse/WW-3227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso resolved WW-3227.
---------------------------------
Resolution: Fixed
merged. thanks for the patch!
> struts.action.excludePattern does not work as expected
> ------------------------------------------------------
>
> Key: WW-3227
> URL:
https://issues.apache.org/struts/browse/WW-3227
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.1.8
> Reporter: Andreas Joseph Krogh
> Fix For: 2.1.8
>
> Attachments: struts2-exclude-url-fix.patch
>
>
> Hi all.
> I noticed excludePattern doesn't work as expected in 2.1.8-SNAPSHOT.
> The problem is prepare.wrapRequest(request), it's called whether or not isUrlExcluded() which is not what we want. The whole point of setting the struts.action.excludePattern property is to tell Struts2 to "lay off" the matching URLs.
> The thing for me is that I have Struts2 in the same webapp as other stuff, Struts-1.1 being one of them, and I need the multipart-request to reach the Struts-1.1 actions which resides in an URL which matches the excludePattern.
> Attached is a patch fixing it, hopefully this will make it in the 2.1.8-GA.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
opensubscriber is not affiliated with the authors of this message nor responsible for its content.