mirror of https://github.com/apache/lucene.git
SOLR-1008: Fix stats.jsp stat item entry name escaping
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@741299 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
34b0ed7cff
commit
8347bf242b
|
@ -239,6 +239,8 @@ Bug Fixes
|
|||
27. SOLR-991: Better error message when parsing solrconfig.xml fails due to malformed XML. Error message notes the name
|
||||
of the file being parsed. (Michael Henson via shalin)
|
||||
|
||||
28. SOLR-1008: Fix stats.jsp XML encoding for <stat> item entries with ampersands in their names. (ehatcher)
|
||||
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
|
|
@ -70,7 +70,7 @@ for (SolrInfoMBean.Category cat : SolrInfoMBean.Category.values()) {
|
|||
<%
|
||||
for (int i = 0; i < nl.size() ; i++) {
|
||||
%>
|
||||
<stat name="<%= nl.getName(i) %>" >
|
||||
<stat name="<%XML.escapeCharData(nl.getName(i), out); %>" >
|
||||
<%= nl.getVal(i).toString() %>
|
||||
</stat>
|
||||
<%
|
||||
|
|
Loading…
Reference in New Issue