-
Bug
-
Resolution: Timed out
-
Low
-
None
-
6.1.1, 6.4.2
-
None
-
1
-
Severity 3 - Minor
-
Summary
The "Unlink" function which turns a link into a string performs some additional processing on the link to make it conform to a URL format.
Environment
Confluence 6.1.1
Steps to Reproduce
- If you copy a string such as "https://www.mycompany.com/<userid>/<mode>" into a Confluence page, Confluence automatically converts the string into a URL as it is very similar to a URL. In this case, however, this string is not a valid URL as it contains two tags at the end since the purpose of this string is to show the format of a URL used for a particular operation.
- While the conversion from a string to a URL is not necessarily a bad thing, if you convert this newly created URL back to plain old text by way of clicking on the URL and then the "Unlink", the Unlink function eliminates the substrings <userid> and <mode> and leaves a string like this: "https://www.mycompany.com//"
Expected Behavior
The URL-like string is left intact (eg. "https://www.mycompany.com/<userid>/<mode>").
Actual Behavior
The "Unlink" function processes the URL-like string to make it look like a valid URL by changing the original string content.
Workaround
- If you have the Confluence Source Editor, you can remove the <a> and </a> tags from around the URL after pasting it into the page.
- Another approach would be to insert the URL as markup. Then, click on the link portion of the URL and click on Unlink.