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 Fri, 20 Nov 2009 03:46:39 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

David Bowen updated SOLR-1579:
------------------------------

          Description: 
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.



  was:
stats.jsp gave this error:

Line Number 1327, Column 48:        <stat name="item_attrFacet_Size_&_Shape"

stat names are not XML escaped.

    Affects Version/s: 1.4

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