Closed mlawry closed 6 years ago
This is similar to issue #614.
WorkItemRecord.java's toXML() method calls:
xml.append(StringUtil.wrap(_taskName, "taskname")); xml.append(StringUtil.wrap(_documentation, "documentation"));
When _documentation contains '&' the output is invalid because it is not escaped as &. Same goes for _taskName.
_documentation
&
_taskName
May be should use StringUtil.wrapEscaped instead of StringUtil.wrap.
StringUtil.wrapEscaped
StringUtil.wrap
May be all wrap calls in WorkItemRecord.toXML() method should use StringUtil.wrapEscaped?
wrap
WorkItemRecord.toXML()
Fixed and in repo.
Most data is already escaped elsewhere, only necessary to do data members as required
This is similar to issue #614.
WorkItemRecord.java's toXML() method calls:
When
_documentation
contains '&' the output is invalid because it is not escaped as&
. Same goes for_taskName
.May be should use
StringUtil.wrapEscaped
instead ofStringUtil.wrap
.