You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Maurizio Cucchiara (Commented) (JIRA)" <ji...@apache.org> on 2012/03/01 13:14:01 UTC

[jira] [Commented] (WW-3755) make ParametersInterceptor.acceptedParamNames public and static

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

Maurizio Cucchiara commented on WW-3755:
----------------------------------------

@zhouyanming setParameter mitigates some OGNL risks (like evaluation expression, see [s2-009|http://struts.apache.org/2.3.1.2/docs/s2-009.html] for further details), the regexp pattern limits the variable name which may be accepted.

@Lukasz
Good catch!
                
> make ParametersInterceptor.acceptedParamNames public and static
> ---------------------------------------------------------------
>
>                 Key: WW-3755
>                 URL: https://issues.apache.org/jira/browse/WW-3755
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>            Reporter: zhouyanming
>         Attachments: WW-3755.patch, patch.txt
>
>
> let it can be referenced by other classes

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira