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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 8.0
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
    • Difficulty:
      Easy
    • Similar issues:

      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

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

                Dates

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