You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2018/02/14 15:18:00 UTC

[jira] [Resolved] (SLING-7499) ResourceResolver trims whitespace at the end of path.

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

Karl Pauls resolved SLING-7499.
-------------------------------
    Resolution: Fixed

Thanks. I optimzed it somewhat and merged the PR.

> ResourceResolver trims whitespace at the end of path.
> -----------------------------------------------------
>
>                 Key: SLING-7499
>                 URL: https://issues.apache.org/jira/browse/SLING-7499
>             Project: Sling
>          Issue Type: Bug
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.5.34
>            Reporter: Karl Pauls
>            Assignee: Karl Pauls
>            Priority: Major
>             Fix For: Resource Resolver 1.5.36
>
>
> When a sling:alias is set for a page and contains a whitespace at the end of its name, then this is cut off by resourceResolver.map().
> The trimming is only performed for the trailing white-space.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)