You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2024/01/04 05:54:00 UTC

[jira] [Created] (SLING-12219) ResourceUtil.normalize does not handle segments with multiple dots correctly

Carsten Ziegeler created SLING-12219:
----------------------------------------

             Summary: ResourceUtil.normalize does not handle segments with multiple dots correctly
                 Key: SLING-12219
                 URL: https://issues.apache.org/jira/browse/SLING-12219
             Project: Sling
          Issue Type: Bug
          Components: API
    Affects Versions: API 2.27.2
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: API 2.27.4


If a path segment contains more than two dots but anything else, then ResourceUtil.normalize does not handle these correctly. It should just return null. Instead in some cases it is leaving the segment untouched or shortens it for example from four dots to two dots.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)