Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2366

HstLink#toUrlForm does not include host name in URL if request comes from the CMS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.24.10, 2.26.00
    • 2.24.11, 2.26.01
    • None
    • None

    Description

      When the method HstLink#toUrlForm(request, fullyQualified) is invoked with a request from the CMS and fullyQualified = true, it returns a URL that only consist of an absolute path (e.g. /site/folder/document.html).

      This breaks the contract of org.hippoecm.hst.rest.DocumentService#getUrl, which is supposed to return a fully-qualified URL, including a scheme and host name, for the UUID of a document.

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              mdenburger Mathijs den Burger (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: