-
Bug
-
Resolution: Timed out
-
Low
-
1
-
Severity 3 - Minor
-
Summary
Code Block macro content that includes a REST API endpoint will cause the page to freeze when loading.
Environment
Confluence Cloud
Steps to Reproduce
- Create a page
- Insert a Code Block Macro
- Input the below XML code to the Code Block macro
UTF-8</con:encoding><con:endpoint>https://test.atlassian.net/admin/rest/um/1/usermanagement</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <hd:Header xmlns:hd="http://www.test.co/header/types"> <hd:VendorId>999111</hd:VendorId> <hd:TransactionId>${=java.util.UUID.randomUUID()}</hd:TransactionId> <hd:Timestamp>${=new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssXXX").format(new Date())}</hd:Timestamp> </hd:Header> </soapenv:Header>
- Make sure to change the Highlight Syntax to HTML and XML
- Save the Code Block Macro
- Publish the page
- Access the page
Expected Results
- The content of the code block macro should not cause the page/browser to freeze.
Actual Results
- The content of the code block macro is causing the page/browser to freeze.
Workaround
- Change the Highlight Syntax to None
Hi everyone,
Thank you for previously raising this bug and bringing it to our attention.
Within our company roadmap and work capacity, we try to address or review each bug request but admit that not each one will be resolved. To continue the culture of being honest and open, we are closing this bug to focus on our upcoming roadmap for all Confluence users.
As we continue to roll out features we do look at requests made by our users and if you feel like this bug is still impacting your team please let us know.
Thank you again for providing valuable feedback to our team!