Handling of '-' in anchor macro and links

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.4
    • Affects Version/s: 1.3.2, 1.4
    • Component/s: None
    • Environment:

      RHEL+standalone+JIRA auth

      On a page called "My page", the macro

      creates the HTML

      <a name="Mypage-foobar"></a>

      But the link

      My page#foo-bar

      generates a link to

      http://servername/confluence/display/MYSPACE/My+page#Mypage-foo-bar

      which is invalid because of the extra '-'.

      Casual testing suggests that this can be replicated with other non-alphanumeric characters. Some of these characters may be legal for anchor names.

              Assignee:
              Unassigned
              Reporter:
              Matthew Wise
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: