You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Joerg Hoh (Jira)" <ji...@apache.org> on 2024/06/13 19:27:00 UTC

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

     [ https://issues.apache.org/jira/browse/SLING-12219?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joerg Hoh updated SLING-12219:
------------------------------
    Fix Version/s: API 2.27.6
                       (was: API 2.27.4)

> 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
>            Priority: Major
>             Fix For: API 2.27.6
>
>
> 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)