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

Jasper Rosenberg updated WW-4162:
---------------------------------

    Attachment: OgnlUtil.java.patch

Patch to OgnlUtil to make it more efficient when enableExpressionCache is true, 
and enableEvalExpression is false (which is the default).
                
> Don't check for diallowed 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
>         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

Reply via email to