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/09/18 08:58:53 UTC

[jira] [Updated] (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 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