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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 7.4.1
    • Fix Version/s: None
    • Component/s: Rendering
    • Labels:
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: