Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-5061

[HApi] HApiType.getUrl() should be an absolute URL

    XMLWordPrintableJSON

Details

    • Patch

    Description

      The Hypermedia API tools HApiType.getUrl() should return an absolute resolvable URL. In its current implementation, it's used to add a URL to the itemtype attribute in microdata, and the spec says the URL should be absolute.

      The fix allows an OSGi config with an external url that gets prepended to the repository path + extension.

      Patch attached

      Attachments

        1. SLING-5061.git.patch
          6 kB
          Andrei Dulvac

        Activity

          People

            bdelacretaz Bertrand Delacretaz
            andrei.dulvac Andrei Dulvac
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: