Details
-
Bug
-
Resolution: Timed out
-
Medium
-
9
-
Severity 2 - Major
-
Description
NOTE: This bug report is for Confluence Cloud. Using Confluence Server? See the corresponding bug report.
An attempt to enter a URL such as this:
http://www.testconf.com?xml=<type="Request">test</type>
Will result in an XML error such as the following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><status><status-code>500</status-code><message>com.atlassian.confluence.content.render.xhtml.XhtmlParsingException: The XML content could not be parsed. There is a problem at line 1, column 735. Parser message: Unexpected character &#39;=&#39; (code 61) excepted space, or &#39;&gt;&#39; or &quot;/&gt;&quot;
 at [row,col {unknown-source}]: [1,735]</message></status>
This becomes a problem during upgrade, especially if customers had such links in previous versions of Confluence.
Workaround
Manually convert special characters in the URL based on this mapping: http://www.w3schools.com/tags/ref_urlencode.asp
The URL above will be encoded to this:
http://www.testconf.com?xml=%3Ctype%3D%22Request%22%3Etest%3C/type%3E
Attempting to workaround this by entering the link through Insert >> Wiki Markup results in a Wiki Markup conversion error with the same stack trace as above.
Attachments
Issue Links
- is related to
-
CONFSERVER-28393 Links are not recognized as a link if the URL is not properly pre-encoded
- Gathering Impact
- mentioned in
-
Page Loading...