lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bowen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1579) CLONE -stats.jsp XML escaping
Date Tue, 09 Feb 2010 22:20:28 GMT

     [ 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.


Mime
View raw message