Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13275

When an absolute link doesn't have "WebHome" it becomes relative blocking users from linking pages on other page trees

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • None
    • 7.4.1
    • Rendering
    • Unknown

    Description

      When an absolute link doesn't have "WebHome" it becomes relative.

      If you have a page /bin/view/PageA/PageB and inside it you create a link:

      [[Main.WebHome]] or [[doc:Main.WebHome]]

      It will be handled as an absolute link and it will point to /bin/view/Main

      But if you remove .WebHome:

      [[Main]] or [[doc:Main]]

      It will point to bin/view/PageA/PageB/Main

      This essentially means that links without WebHome can never be absolute (and therefore you are forced to use WebHome if you want to link to a page that is not a child of the current page)

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            fperedo Francisco Peredo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: