[
https://issues.apache.org/jira/browse/SLING-5670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler resolved SLING-5670.
-------------------------------------
Resolution: Won't Fix
> The OSGi property "resource.resolver.mapping" does not allow to restrict
> mapping to certain schemes or hosts
> ------------------------------------------------------------------------------------------------------------
>
> Key: SLING-5670
> URL: https://issues.apache.org/jira/browse/SLING-5670
> Project: Sling
> Issue Type: Improvement
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.4.10
> Reporter: Konrad Windszus
> Priority: Major
>
> In contrast to what the external mapping configuration in {{/etc/map}}
> allows, the OSGi configuration property "resource.resolver.mapping" does not
> allow to restrict either incoming or outgoing mappings to certain hosts or
> schemes.
> The according code is in
> https://github.com/apache/sling/blob/c9e59667d8f9cd698bc33a51f3e6a22e85d4a952/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java#L1333
> for incoming mapping (resolve) and in
> https://github.com/apache/sling/blob/c9e59667d8f9cd698bc33a51f3e6a22e85d4a952/bundles/resourceresolver/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntries.java#L1351
> for outgoing mappings (map).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)