struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (WW-4094) struts.allowed.action.names inconsistency
Date Thu, 06 Jun 2013 06:04:21 GMT


ASF subversion and git services commented on WW-4094:

Commit 1490165 from [~lukaszlenart]
[ ]

WW-4095 WW-4094 Changes how pattern is compiled to be once per instance and changes default
regexp to match underscore
> struts.allowed.action.names inconsistency
> -----------------------------------------
>                 Key: WW-4094
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions:
>            Reporter: Andreas Sachs
>            Priority: Minor
> I think there is a inconsistency in DefaultActionMapper.cleanupActionName
> According to struts.allowed.action.names
defines a regex the action name must match.
> The default regex is: {noformat}[a-z]*[A-Z]*[0-9]*[.\-_!/]*{noformat}
> I have an action with the name "core_blz"
> This action name does not match the regex (underscore is not at the end)(maybe the default
value should be changed).
> {noformat}DefaultActionMapper reports Action [#0] do not match allowed action names pattern
[#1], cleaning it up!{noformat}
> But the cleaned action name is still core_blz.
> If this function is only to remove suspicious characters, then the warning should not
be displayed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message