You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "David Bowen (JIRA)" <ji...@apache.org> on 2010/02/09 23:20:28 UTC

[jira] Updated: (SOLR-1579) CLONE -stats.jsp XML escaping

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