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

Insert Link Containing Single Quote or Curly Braces Doesn't Work

XMLWordPrintable

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps to reproduce:
      1. Create a page
      2. Edit the page and insert a link e.g. http://localhost/asdsadsad/asdsadsa'asdsad'asdsad
      3. Linking does not work when the link contains single quote or curly braces

      As referred here: http://www.ietf.org/rfc/rfc1738.txt

      Usually a URL has the same interpretation when an octet is
      represented by a character and when it encoded. However, this is not
      true for reserved characters: encoding a character reserved for a
      particular scheme may change the semantics of a URL.

      Thus, only alphanumerics, the special characters "$-_.+!*'(),", and
      reserved characters used for their reserved purposes may be used
      unencoded within a URL.

      Workaround 1

      URL-encode single quotes to %27 manually

      Workaround 2

      Using Insert > Web Link in the editor dialog (which will encode the characters for you upon insert)

      Workaround 3

      Use a TinyURL. Normally Tiny URLs don't have quote or any other special characters. Hence, you can use them instead of full link. If your current links are referring to other Confluence's page you can use Confluence Tiny URL from Confluence Page Information.

              Unassigned Unassigned
              hsuhailah Hanis Suhailah (Inactive)
              Votes:
              11 Vote for this issue
              Watchers:
              21 Start watching this issue

                Created:
                Updated: