[
https://issues.apache.org/jira/browse/SLING-11749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Angela Schreiber reassigned SLING-11749:
----------------------------------------
Assignee: Julian Reschke
> resource resolver: document URL patterns in vanity paths and add test coverage
> ------------------------------------------------------------------------------
>
> Key: SLING-11749
> URL: https://issues.apache.org/jira/browse/SLING-11749
> Project: Sling
> Issue Type: Task
> Components: ResourceResolver
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
>
> MapEntries (in "private String[] getVanityPathDefinition(final String
> pVanityPath)") currently attempts to detect URL-shaped paths, and rewrite
> them to a prefix.
> There are several issues here:
> 1. there doesn't seem to be any concrete documentation about this
> 2. apparently there is no test coverage - removing that code causes no test
> failures
> 3. it's unclear whether not replacing an empty string by "/" is intentional
--
This message was sent by Atlassian Jira
(v8.20.10#820010)