Confluence
  1. Confluence
  2. CONF-25123

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

    Details

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

      Description

      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)

      Considerations

      It's unclear whether this is actually a bug. As noted by Paul Curren [Atlassian], 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

          Activity

          Edith Tom [Atlassian] created issue -
          Edith Tom [Atlassian] made changes -
          Field Original Value New Value
          Attachment antisamy-confluence-storage-4.1.6.xml [ 62392 ]
          Edith Tom [Atlassian] made changes -
          Attachment antisamy-confluence-storage-4.1.6.xml [ 62392 ]
          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. ]
          Daniel Kjellin [Atlassian] made changes -
          Status New [ 10034 ] Open [ 1 ]
          Husein Alatas [Atlassian] made changes -
          Link This issue is related to CONF-23575 [ CONF-23575 ]
          Anatoli Kazatchkov [Administrative Account] made changes -
          Workflow Confluence Bug Workflow [ 378716 ] New Confluence Default Workflow [ 476144 ]

            People

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

              Dates

              • Created:
                Updated:
                Last commented:
                2 years, 3 weeks ago