You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2016/02/05 16:54:40 UTC
[jira] [Closed] (SLING-5061) [HApi] HApiType.getUrl() should be an
absolute URL
[ https://issues.apache.org/jira/browse/SLING-5061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-5061.
-----------------------------------
> [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
> Assignee: Bertrand Delacretaz
> Priority: Minor
> Labels: PatchAvailable
> Fix For: HApi 1.0.0
>
> Attachments: SLING-5061.git.patch
>
>
> 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)