-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 6.15.4, 6.15.6, 7.20.2
-
Component/s: Content - Linking
-
None
-
4
-
Severity 3 - Minor
Issue Summary
When a user added a URL that contains a Javascript, Confleucne is not able to render the link and there will be no respond when user click the link.
Steps to Reproduce
- Create a new page
- Paste the following link
https://<your_instance>.service-now.com/incident_list.do?sysparm_query=closed_atONLast%20week%40javascript%3Ags.beginningOfLastWeek()%40javascript%3Ags.endOfLastWeek() - Save the page
- Click the link
- Click the ... in the Confluence page and select view page source
- You can see that Confluence render the link as following.
<a>https://<your_instance>.service-now.com/incident_list.do?sysparm_query=closed_atONLast%20week%40javascript%3Ags.beginningOfLastWeek()%40javascript%3Ags.endOfLastWeek()</a>instead of
<a href="https://<your_instance>.service-now.com/incident_list.do?sysparm_query=closed_atONLast%20week%40">https://<your_instance>.service-now.com/incident_list.do?sysparm_query=closed_atONLast%20week%40</a>
The herf='URL' tag is missing when the link contains Javascript.
Expected Results
It will redirect user to the service now instance
Actual Results
Confluence is not redirecting user to the service now instance and there is no action perfomr when user click the link.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available