diff --git a/src/webapp/web/admin/analysis.jsp b/src/webapp/web/admin/analysis.jsp index fe6d3f4e719..56272a7fd16 100644 --- a/src/webapp/web/admin/analysis.jsp +++ b/src/webapp/web/admin/analysis.jsp @@ -122,12 +122,16 @@ try { field = schema.getField(name); } catch (Exception e) { - out.println("Unknown Field: " + name + ""); + out.print("Unknown Field: "); + XML.escapeCharData(name, out); + out.println(""); } } else { FieldType t = schema.getFieldTypes().get(name); if (null == t) { - out.println("Unknown Field Type: " + name + ""); + out.print("Unknown Field Type: "); + XML.escapeCharData(name, out); + out.println(""); } else { field = new SchemaField("fakefieldoftype:"+name, t); }