You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2023/01/11 16:22:00 UTC
[jira] [Created] (SLING-11749) resource resolver: document URL patterns in vanity paths and add test coverage
Julian Reschke created SLING-11749:
--------------------------------------
Summary: 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
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)