Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31931

Make URLs relative in the Web Content Tool when editing Site Info.

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 11.1
    • Fix Version/s: 12.0
    • Component/s: Web Content
    • Labels:
      None

      Description

      When users paste URLs into the web content tool they typically are fully qualified (eg https://server.edu/some/url/to/content). However if we know they point to the current server we can strip off the server portion and make them relative. This has the following advantages:

      • Links point to the same server when in testing. So if content is moved to a test server the links will point to the content on the test server rather than back to a live server.
      • If a server is accessed through multiple hostnames the link always points to the one the current user is accessing so avoiding the situation when the user is prompted to login again because they don't have a cookie for the alternative domain.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                maintenanceteam Core Team
                Reporter:
                buckett Matthew Buckett
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code