struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4162) Don't check for disallowed ognl expressions if getting from expression cache
Date Fri, 18 Oct 2013 08:39:43 GMT

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

Mime
View raw message