You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2023/01/25 16:39:00 UTC

[jira] [Assigned] (SLING-11749) resource resolver: document URL patterns in vanity paths and add test coverage

     [ 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)