struts-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/WW-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799179#comment-13799179
] 

Hudson commented on WW-4162:
----------------------------

SUCCESS: Integrated in Struts2-JDK6 #814 (See [https://builds.apache.org/job/Struts2-JDK6/814/])
WW-4162 Doesn't check for disallowed ognl expressions if getting from expression cache (lukaszlenart:
rev 1533360)
* /struts/struts2/trunk/xwork-core/src/main/java/com/opensymphony/xwork2/ognl/OgnlUtil.java


> 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