|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here is how to reproduce:
1. create a job called "jobName" (name doesn't matter)![]()
2. from within a job publish checkstyle report (the "phpcs_checkstyle.xml" file)
3. open /var/lib/jenkins/jobs/jobName/1/checkstyle.xml file (the "1" is build number)
4. that file should contain double escaped xml already
5. go to http://your.jenkins.instance.com/jobs/jobName/1/checkStyleResult/api/json?pretty=true&tree=warnings[*]
6. the "message" key at least of some messages will have content escaped by XML rules twice (the & apos; and & amp;quot
I guess the XML file is source for /checkStyleResult/api/json page, so if new generated checkstyle.xml is escaped properly, then the JSON output from it will be as well.