struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "fako (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-3129) struts.enable.DynamicMethodInvocation=false still allows to call methods dynamically
Date Sat, 16 May 2009 00:17:42 GMT

     [ https://issues.apache.org/struts/browse/WW-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

fako updated WW-3129:
---------------------

    Component/s: Core Actions
    Environment: WinXP, Struts 2.1.6, JDK 1.6.0_12

> struts.enable.DynamicMethodInvocation=false still allows to call methods dynamically
> ------------------------------------------------------------------------------------
>
>                 Key: WW-3129
>                 URL: https://issues.apache.org/struts/browse/WW-3129
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.1.6
>         Environment: WinXP, Struts 2.1.6, JDK 1.6.0_12
>            Reporter: fako
>
> In Struts2 documentation:
> struts.enable.DynamicMethodInvocation:
> ### Set this to false if you wish to disable implicit dynamic method invocation
> ### via the URL request. This includes URLs like foo!bar.action, as well as params
> ### like method:bar (but not action:foo). 
> If i set to false, i still can invoke methods dynamically with method: prefix
> http://localhost:8080/struts/Calculator?method:toString
> Result: No result defined for action testapp.struts.action.CalculatorAction and result
testapp.struts.action.CalculatorAction@1dafbaf
> Invoking http://localhost:8080/struts/Calculator!toString.action works as intended:
> Result: There is no Action mapped for namespace / and action name Calculator!toString

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message