You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@struts.apache.org by "lukaszlenart (via GitHub)" <gi...@apache.org> on 2026/10/22 19:16:11 UTC
[PR] WW-4323 docs: ParameterNameAware narrows, never widens, the params checks [struts-site]
lukaszlenart opened a new pull request, #361:
URL: https://github.com/apache/struts-site/pull/361
Relates to [WW-4323](https://issues.apache.org/jira/browse/WW-4323) (closed as Won't Fix)
## Summary
- The Parameters Interceptor page said `ParameterNameAware#acceptableParameterName` takes precedence over the interceptor and can relax its rules. That hasn't been true since 2.3.16.1 (`4e98aaaa1`, WW-4109 / WW-4154): a parameter is set only when both checks accept it. apache/struts#2049 pins this with a test.
- Replaced the "relax per action via `ParameterNameAware`" advice with per-action interceptor parameters, plus an example.
- Fixed the overridable method names (`acceptableName` → `isAcceptableName(String)`, `acceptableParameterValue` → `isAcceptableValue(String, String)`). The new names exist in 6.8.0 and 7.x.
- Fixed the `excludeValuePatterns` parameter name. The setter is `setExcludedValuePatterns`, so the param is `excludedValuePatterns`, which the page's own example already used.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WW-4323 docs: ParameterNameAware narrows, never widens, the params checks [struts-site]
Posted by "asf-ci (via GitHub)" <gi...@apache.org>.
asf-ci commented on PR #361:
URL: https://github.com/apache/struts-site/pull/361#issuecomment-6349328860
Staged site is ready at https://struts.staged.apache.org/
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] WW-4323 docs: ParameterNameAware narrows, never widens, the params checks [struts-site]
Posted by "lukaszlenart (via GitHub)" <gi...@apache.org>.
lukaszlenart merged PR #361:
URL: https://github.com/apache/struts-site/pull/361
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org