Details
-
Bug
-
Resolution: Fixed
-
Low
-
4.0 - Beta 4
-
4
-
Description
This seems to be a regression as a result of JRA-15876.
The icon URL used to be escaped before being output into the XML view. Now it is not.
This causes the XML view to render incorrectly when the URL has certain characters in it e.g. ampersand. It was observed that if viewing the Search Request results as an XML view, the result source would be complete, however the view of that source in Firefox would be truncated (or not present at all).
It can also affect the JIRA Issues Macro in Confluence as the macro will be unable to parse the XML, e.g.
2009-09-14 13:56:30,058 WARN [http-8080-4] [confluence.extra.jira.JiraIssuesServlet] doGet An IO Exception has been encountered: Error on line 188: The reference to entity "modificationDate" must end with the ';' delimiter. -- url: /plugins/servlet/issue-retriever | userName: admin | referer: http://localhost:8080/display/ds/list java.io.IOException: Error on line 188: The reference to entity "modificationDate" must end with the ';' delimiter. at com.atlassian.confluence.extra.jira.DefaultJiraIssuesManager.getChannelElement(DefaultJiraIssuesManager.java:163) at com.atlassian.confluence.extra.jira.DefaultJiraIssuesManager.retrieveXML(DefaultJiraIssuesManager.java:192) at com.atlassian.confluence.extra.jira.JiraIssuesServlet.getResultJson(JiraIssuesServlet.java:165)