From issues-return-32448-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Thu Oct 4 08:22:03 2018 Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7428420967 for ; Thu, 4 Oct 2018 08:22:03 +0000 (UTC) Received: (qmail 66420 invoked by uid 500); 4 Oct 2018 08:22:03 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 66360 invoked by uid 500); 4 Oct 2018 08:22:03 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 66350 invoked by uid 99); 4 Oct 2018 08:22:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Oct 2018 08:22:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 93243C285F for ; Thu, 4 Oct 2018 08:22:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 4nlVVR5dQD_9 for ; Thu, 4 Oct 2018 08:22:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 4A9D65F10C for ; Thu, 4 Oct 2018 08:22:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 70C5FE02BE for ; Thu, 4 Oct 2018 08:22:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 10CD5246D7 for ; Thu, 4 Oct 2018 08:22:00 +0000 (UTC) Date: Thu, 4 Oct 2018 08:22:00 +0000 (UTC) From: "Yasser Zamani (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4966) com.opensymphony.xwork2.ognl.OgnlValueStack findValue doesn't work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4966?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1663792= 7#comment-16637927 ]=20 Yasser Zamani commented on WW-4966: ----------------------------------- [~sancho0410], additionally, I think [~lukaszlenart] is right. You can simp= ly use=C2=A0{{s:property}} and it does it for you itself. For dynamic expre= ssion I somehow remember you can use ognl double evaluation like=20 {code:xml} {code} But please consider like your current situation, it's risky and {{myExpress= ion}} must be cleaned if is dependent to end user input. > com.opensymphony.xwork2.ognl.OgnlValueStack findValue doesn't work > ------------------------------------------------------------------ > > Key: WW-4966 > URL: https://issues.apache.org/jira/browse/WW-4966 > Project: Struts 2 > Issue Type: Bug > Affects Versions: 2.3.35 > Reporter: Guillaume SANCHEZ > Priority: Major > > Hi, > since 2.3.35 Struts2 version the "com.opensymphony.xwork2.ognl." is exclu= de. > In template some people use=C2=A0OgnlValueStack function like=C2=A0.findV= alue(String). > Have U some fix for use this function in .ftl and .jsp ? This class have = security breach ? > =C2=A0 > Thanks U -- This message was sent by Atlassian JIRA (v7.6.3#76005)