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 2013/10/16 19:05:42 UTC

[jira] [Commented] (SLING-3182) Filter out invalid alias values

    [ https://issues.apache.org/jira/browse/SLING-3182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13796992#comment-13796992 ] 

Carsten Ziegeler commented on SLING-3182:
-----------------------------------------

Invalid aliases are ignored. An alias is considered invalid if it equals "..", "." or contains a /, # or ?
This is logged with log level warn

> Filter out invalid alias values
> -------------------------------
>
>                 Key: SLING-3182
>                 URL: https://issues.apache.org/jira/browse/SLING-3182
>             Project: Sling
>          Issue Type: Improvement
>          Components: ResourceResolver
>    Affects Versions: Resource Resolver 1.0.6
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Resource Resolver 1.1.0
>
>
> Right now, the sling:alias property is used as is for reverse mapping and isn't checked for invalid characters which will result in invalid links.
> We should filter those out and ignore the values



--
This message was sent by Atlassian JIRA
(v6.1#6144)