[
https://issues.apache.org/jira/browse/WW-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-4162:
------------------------------
Summary: Don't check for disallowed ognl expressions if getting from
expression cache (was: Don't check for diallowed ognl expressions if getting
from expression cache)
> Don't check for disallowed ognl expressions if getting from expression cache
> ----------------------------------------------------------------------------
>
> Key: WW-4162
> URL: https://issues.apache.org/jira/browse/WW-4162
> Project: Struts 2
> Issue Type: Improvement
> Components: Expression Language
> Affects Versions: 2.3.15.1
> Reporter: Jasper Rosenberg
> Priority: Minor
> Labels: ognl
> Fix For: 2.3.16
>
> Attachments: OgnlUtil.java.patch
>
>
> When the ognl expression cache is enabled, when there is a cache hit, we
> don't need to have the overhead of traversing the tree to see if there is a
> disallowed expression. I've attached a simple patch.
--
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: http://www.atlassian.com/software/jira