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

WebHome cannot be displayed/found if the url that leads to the space does not end with slash char

    Details

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

      Description

      Let's say I have a space "myspace" and I want to view the space by entering the url directly in the browser.
      I type:

      http://localhost:8080/xwiki/bin/view/myspace
      

      But this does not lead to the expected WebHome page of myspace, but to a non-existing page. When I create the page, it is located in:

      http://localhost:8080/xwiki/bin/view/view/myspace
      

      --> confusing.

      It works when I add a slash at the end of the url:

      http://localhost:8080/xwiki/bin/view/myspace/
      

      That leads to http://localhost:8080/xwiki/bin/view/myspace/WebHome

      Shouldn't it also be possible to go directly to the space/WebHome when entering the url without a slash at the end?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                hor Reto Hotz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: