You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/07/10 10:33:00 UTC
[jira] [Closed] (SLING-6996) Root Mappings for Resource Resolution
don't work correctly when sling:match contains a regex in the host part
[ https://issues.apache.org/jira/browse/SLING-6996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Pauls closed SLING-6996.
-----------------------------
> Root Mappings for Resource Resolution don't work correctly when sling:match contains a regex in the host part
> -------------------------------------------------------------------------------------------------------------
>
> Key: SLING-6996
> URL: https://issues.apache.org/jira/browse/SLING-6996
> Project: Sling
> Issue Type: Bug
> Components: ResourceResolver
> Affects Versions: Resource Resolver 1.5.24
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Fix For: Resource Resolver 1.5.26
>
> Attachments: SLING-6996.patch
>
>
> Looking at http://sling.apache.org/documentation/the-sling-engine/mappings-for-resource-resolution.html#root-level-mappings it should be possible to match ports in the sling:match e.g.:
> sling:match = http/localhost.\d*
> should match regardless of the host port. However, that currently isn't the case as the resource resolver erroneously detects this as a host without port and appends the default port to the pattern.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)