Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 72155 invoked from network); 1 May 2009 00:48:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 May 2009 00:48:48 -0000 Received: (qmail 18681 invoked by uid 500); 1 May 2009 00:48:45 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 18643 invoked by uid 500); 1 May 2009 00:48:45 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 18633 invoked by uid 99); 1 May 2009 00:48:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:48:45 +0000 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [144.82.108.43] (HELO vscane-c.ucl.ac.uk) (144.82.108.43) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:48:37 +0000 Received: from [128.40.64.180] by vscane-c.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.60) (envelope-from ) id 1LzgvE-0000Rl-NZ for user@struts.apache.org; Fri, 01 May 2009 01:48:12 +0100 Message-Id: From: Andy Sykes To: "Struts Users Mailing List" In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: OGNL & DisplayTag = inappropriate expressions Date: Fri, 1 May 2009 01:48:06 +0100 References: <8A8EE079-9831-425C-A03F-C763F42AE481@ucl.ac.uk> X-Mailer: Apple Mail (2.930.3) X-UCL-MailScanner-Information: Please contact the UCL Helpdesk, helpdesk@ucl.ac.uk for more information X-UCL-MailScanner: Found to be clean X-UCL-MailScanner-From: a.sykes@ucl.ac.uk X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No Ah, of course. I forgot about that. Thanks. Next time I'll remember to search the list first.. A. On 30 Apr 2009, at 21:10, Musachy Barroso wrote: > The parameters interceptor has an attribute (excludeParams), that can > take a list of regular expressions. Any param whose name matches on of > the regex, will be ignored. We should make a FAQ out of this question. > > musachy > > On Thu, Apr 30, 2009 at 3:47 PM, Andy Sykes wrote: >> Hi all, >> >> Is there a way to prevent OGNL from analysing GET parameters as >> expressions? >> >> Reason for asking: >> >> DisplayTag generates URLs like this: action?d-49653-p=2 >> >> I'm getting tons of errors in the log, where it looks like OGNL is >> trying to >> evaluate this as: (d minus 49653 minus p). Naturally, this makes it >> throw >> ognl.InappropriateExpressionException any time a user loads a page >> with a >> DisplayTag table in it, which is incredibly annoying. >> >> Thoughts? >> >> Andy. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org >> For additional commands, e-mail: user-help@struts.apache.org >> >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org