You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2013/10/18 10:39:43 UTC
[jira] [Resolved] (WW-4162) Don't check for disallowed ognl
expressions if getting from expression cache
[ https://issues.apache.org/jira/browse/WW-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-4162.
-------------------------------
Resolution: Fixed
Assignee: Lukasz Lenart
Patch applied, thanks!
> 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
> Assignee: Lukasz Lenart
> 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 was sent by Atlassian JIRA
(v6.1#6144)