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

Allow entering Space URLs without a trailing slash

    XMLWordPrintable

Details

    • Integration
    • Unknown

    Description

      Note that this is done in the context of Nested Documents.

      The idea is to allow users to enter /A/B and that it would lead them to A.B.WebHome.

      Implementation details:

      • We would do this only for the "view" action since we need to keep backward compat as much as possible for existing apps which use the inline or edit action to create new pages. Otherwise they would end up always creating non terminal pages when they may want to create terminal pages and they may fail as a result (for example if they search for all docs in the current space). It's better to let these apps be upgraded one by one to decide what they want to do.
      • When /A/B is requested, if A.B exists then go to it. If not, verify if A.B.WebHome exist and if so forward to it.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 2 hours
                  1d 2h