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

Redirects created when renaming a page send the HTTP code 302 as response, they should send 301

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • 8.0
    • Old Core
    • Easy

    Description

      How to reproduce:

      • create a page P1
      • rename the page to Page1, checking the box to "create redirect" from the old page to the new page
      • access the url of the P1 page with a http client that can show the http response envelope, for example curl in verbose mode (curl -v <url>)

      Actual result:

      Expected result:

      • the http client should probably receive a "301 moved permanently" response ( https://tools.ietf.org/html/rfc1945#page-34 ) which seems more appropriate for the situation, hoping that in some future browsers will start updating bookmarks upon reception of a 301.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: