Andrei Dulvac created SLING-5061: ------------------------------------ Summary: [HApi] HApiType.getUrl() should be an absolute URL Key: SLING-5061 URL: https://issues.apache.org/jira/browse/SLING-5061 Project: Sling Issue Type: Bug Components: Extensions Reporter: Andrei Dulvac Priority: Minor
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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)