Need help for contribution towards JENKINS-8855

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Need help for contribution towards JENKINS-8855

Robert Munteanu

I am willing to try and provide a fix for

JENKINS-8855: Malformed XML in API due to slash in element tag name

as the problem is apparently pretty simple - XML encoding.

A git branch name i.e. origin/master is written as a tag -  <origin/master>  - which is not valid XML. Apparently all that needs to be done is to escape the name, but I am unsure how to do that. It seems that objects are automatically serialized to XML/JSon in Hudson, so any pointers towards documentation or the serializer classes themselves would be appreciated.