Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-25967

Creating external URL links containing curly brackets breaks the links

XMLWordPrintable

      Summary

      Creating external URL links containing curly brackets breaks the links. The links become unclickable and the URL address is gone when you try to edit it

      Steps to Reproduce

      1. Create a link URL address http://test.com/doc={123}
      2. Save the page

      Expected Results

      1. The URL link is clickable

      Actual Results

      1. The URL is not clickable. This is what's shown in the source:
        <a rel="nofollow">LINK TEXT</a>

      Notes

      1. This also happens when adding the link through the Link Macro

      Workaround

      Escaping the curly brackets with a backslash would not work. However, replacing the curly brackets with a valid ASCII format would work. This means that open curly bracket { is converted to %7B and closed curly bracket } is converted to %7D. For example http://test.com/doc=%7B123%7D

      In case of MS SharePoint another workaround is using SharePoint ShortUrl

            Unassigned Unassigned
            asanusi AmaliaA
            Votes:
            10 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved: