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

Headings' "id" attribute is incorrectly URL encoded

    XMLWordPrintable

Details

    Description

      When a page contains headings with international characters, the fragment identifier (the "id" attribute of the corresponding heading) should not be URL encoded.

      Confluence is incorrectly encoding this "id" attribute, which breaks the inter-page links created by the TOC macro in Firefox.

      Steps to reproduce:

      1. create a page containing lots of blank lines, followed by the heading Á
      2. in the beginning of the page, include the TOC macro, which will create a link to the A section
      3. save the page
      4. using Firefox, click on the link in the TOC

      Expected results: The browser should scroll to the A section

      Actual results: nothing happens

      At first I thought this was a Firefox bug, but it turns out it's a Confluence bug. Additional details:

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4ef46871487e Daniel Serodio
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: