[ 
https://issues.apache.org/jira/browse/SLING-777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felix Meschberger closed SLING-777.
-----------------------------------

    Resolution: Fixed

Implemented the removal of scheme/host/port from the mapped URI if they are the 
same as in the actual request in Rev. 726592.

> Mapping resources might not need scheme and host
> ------------------------------------------------
>
>                 Key: SLING-777
>                 URL: https://issues.apache.org/jira/browse/SLING-777
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR Resource
>    Affects Versions: JCR Resource 2.0.4
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.4
>
>
> Currently the ResourceResolver.map method always returns an absolute URI, 
> that is an URI which includes the scheme and host/port  part in addition to 
> the path. If the URI addresses the same scheme/host/port as the request, the 
> scheme and hort/port part may be ommitted. This creates shorter URIs and also 
> URIs, which are clearly identifiable as not "leaving" the host.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to