Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONF-25123

When migrating from wiki markup to storage format, links containing ^ character are rendered as plain text


    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Last commented by user?:


      Steps to reproduce

      1. Start up an instance of Confluence that uses wiki markup (e.g. version 3.5)
      2. Add a link containing the ^ character to a page, e.g. http://example.com&version=v^1.0 - you'll need to insert this link through the link macro or via wiki markup (cannot simply paste the link in the rich text view)
      3. Upgrade the instance of Confluence to a version using storage format (i.e. 4.0+)

      You'll find that the link you added is now rendered as plain text (and not recognised to be a link)


      It's unclear whether this is actually a bug. As noted by Paul Curren, the old RFC explicitly disallows the ^ symbol, and the updated RFC doesn't include the character in either the reserved or unreserved sets of characters.
      However, we should consider the impact of this behaviour for customers who are upgrading large instances that contain many links of this kind


          Issue Links


            etom Edith Tom [Atlassian] created issue -
            etom Edith Tom [Atlassian] made changes -
            Field Original Value New Value
            Attachment antisamy-confluence-storage-4.1.6.xml [ 62392 ]
            etom Edith Tom [Atlassian] made changes -
            Attachment antisamy-confluence-storage-4.1.6.xml [ 62392 ]
            etom Edith Tom [Atlassian] made changes -
            Comment [ I have attached a [patched xml file|^antisamy-confluence-storage-4.1.6.xml] for version 4.1.6 of Confluence. The [installation instructions for patched class files|http://confluence.atlassian.com/display/DOC/Installing+Patched+Class+Files] apply for installing this patch.

            The subdirectories for the xml file are {{com/atlassian/confluence/content/render/xhtml}}. You need to remove the "-4.1.6" from the xml file before copying it. ]
            dkjellin Daniel Kjellin made changes -
            Status New [ 10034 ] Open [ 1 ]
            halatas Husein Alatas [Atlassian] made changes -
            Link This issue is related to CONF-23575 [ CONF-23575 ]
            akazatchkov.adm Anatoli Kazatchkov [Administrative Account] made changes -
            Workflow Confluence Bug Workflow [ 378716 ] New Confluence Default Workflow [ 476144 ]


              • Assignee:
                etom Edith Tom [Atlassian]
                Last Touched By:
                Anatoli Kazatchkov [Administrative Account]
              • Votes:
                0 Vote for this issue
                1 Start watching this issue


                • Created:
                  Last commented:
                  3 years, 34 weeks, 2 days ago