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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • 1.8.3
    • None
    • None
    • Unknown

    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

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

              Dates

                Created:
                Updated:
                Resolved: