Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 35457 invoked from network); 9 Feb 2010 22:20:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 22:20:52 -0000 Received: (qmail 93619 invoked by uid 500); 9 Feb 2010 22:20:51 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 93519 invoked by uid 500); 9 Feb 2010 22:20:51 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 93498 invoked by uid 99); 9 Feb 2010 22:20:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 22:20:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 22:20:49 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0FE39234C4AD for ; Tue, 9 Feb 2010 14:20:28 -0800 (PST) Message-ID: <1861079723.163301265754028063.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Feb 2010 22:20:28 +0000 (UTC) From: "David Bowen (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Updated: (SOLR-1579) CLONE -stats.jsp XML escaping In-Reply-To: <621795490.1258688559619.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Bowen updated SOLR-1579: ------------------------------ Attachment: SOLR-1579.patch This is a trivial fix, but I'm supplying a patch in the hope of raising the priority. > CLONE -stats.jsp XML escaping > ----------------------------- > > Key: SOLR-1579 > URL: https://issues.apache.org/jira/browse/SOLR-1579 > Project: Solr > Issue Type: Bug > Components: web gui > Affects Versions: 1.4 > Reporter: David Bowen > Assignee: Erik Hatcher > Fix For: 1.5 > > Attachments: SOLR-1579.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > The fix to SOLR-1008 was wrong. It used chardata escaping for a value that is an attribute value. > I.e. instead of XML.escapeCharData it should call XML.escapeAttributeValue. > Otherwise, any query used as a key in the filter cache whose printed representation contains a double-quote character causes invalid XML to be generated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.