-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
Component/s: Macros - Other - Native (1st Party)
-
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