[ 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.
|