Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 27510 invoked from network); 22 Jun 2010 01:42:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Jun 2010 01:42:15 -0000 Received: (qmail 84890 invoked by uid 500); 22 Jun 2010 01:42:15 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 84792 invoked by uid 500); 22 Jun 2010 01:42:15 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 84785 invoked by uid 99); 22 Jun 2010 01:42:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 01:42:15 +0000 X-ASF-Spam-Status: No, hits=-1535.4 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jun 2010 01:42:14 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5M1fsfK008861 for ; Tue, 22 Jun 2010 01:41:54 GMT Message-ID: <9438337.2641277170914185.JavaMail.jira@thor> Date: Mon, 21 Jun 2010 21:41:54 -0400 (EDT) From: "Rex Wang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (GERONIMO-5384) Geronimo console doesn't seem to handle % in sql statements right. In-Reply-To: <13936108.101411277049862665.JavaMail.jira@thor> 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/GERONIMO-5384?page=3Dcom.atlas= sian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rex Wang resolved GERONIMO-5384. -------------------------------- Resolution: Fixed fix in=20 rev956760 for branch 2.2 rev956761 for trunk > Geronimo console doesn't seem to handle % in sql statements right. > ------------------------------------------------------------------ > > Key: GERONIMO-5384 > URL: https://issues.apache.org/jira/browse/GERONIMO-5384 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues)=20 > Affects Versions: 2.1.5, 2.2.1 > Reporter: Knut-H=C3=A5vard Aksnes > Assignee: Rex Wang > Fix For: 2.1.6, 2.2.1, 3.0 > > Original Estimate: 0h > Remaining Estimate: 0h > > This bug is seen in Geronimo console under Run Sql on the Database Pools = form. > Try to run this query, the problem seems to be independent of datasource= : > select * from foo where name like '%a%' > The result is: > type Exception report > message > description The server encountered an internal error () that prevented it= from fulfilling this request. > exception > java.lang.IllegalArgumentException: URLDecoder: Illegal hex characters in= escape (%) pattern - For input string: "a%" > =09java.net.URLDecoder.decode(URLDecoder.java:173) > =09org.apache.geronimo.console.filter.XSSHandler.isInvalidParam(XSSHandle= r.java:135) > =09org.apache.geronimo.console.filter.XSSHandler.isInvalidParameters(XSSH= andler.java:80) > =09org.apache.geronimo.console.filter.XSSXSRFFilter.doFilter(XSSXSRFFilte= r.java:105) --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.