fix for bad xml in gsa result when doing a query with quotes

pull/1/head
Michael Peter Christen 12 years ago
parent 1e002ab18e
commit 118233a7e6

@ -301,9 +301,9 @@ public class GSAResponseWriter implements QueryResponseWriter {
writer.write("<PARAM name=\"");
writer.write(tagname);
writer.write("\" value=\"");
XML.escapeCharData(value, writer);
XML.escapeAttributeValue(value, writer);
writer.write("\" original_value=\"");
writer.write(value);
XML.escapeAttributeValue(value, writer);
writer.write("\"/>"); writer.write(lb);
}

Loading…
Cancel
Save