Square brackets in an external URL breaks the link


I am trying to include the following link in confluence. Confluence strips of the entire link. I have even tried to encode the url but without any success. If I remove the square brackets, everything works fine. So how do I solve this problem other than changing the default linking character to double brackers instead of the single bracket.

<a href="http://qualitytools/rrd/index.php?RD_COMMIT[]=&RD_COMMIT[]=Y&TARGET_RELEASE[]=IC616&MRD_ID[]=;&showTable=1&table=RRD---vs---MRD&genericFilters=;MRD_DESCRIPTION&tableMode=view&genericFieldsLeft=MRD_DESCRIPTION;;;MRD_OWNER;;;MRD_STATUS;;;PROJECT_ID&genericFieldsTop=PROJECT_NAME:L;;;STAFF_OWNER:L">Test</a>



1 answer

This widget could not be displayed.


I have the same issue with curly brackets {  } . 

I wrote a tool to automatically push content in Confluence, using the REST API. Some external links are links to Sharepoint that sometimes contains an ID between brackets. With the brackets, the external link is lost and in the final storage format I can see <a></a> link with no href attribute. If I simply remove the brackets from the external URL, then a link is correctly created.

What would be the best solution:

  • Can we escape them for Confluence ? ( \{ or &#123; is not working)
  • Should we simply delete them ? (no other solution ?)




Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in Statuspage

What are your best incident management tips and stories? #HugOps

 👋Community members! Downtime happens. And great incident response takes a village. Teams like Support, Dev, SRE, Ops, IT, and Marketing have to come together to resolve the problem while keep...

71 views 2 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you