You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2010/05/05 17:13:02 UTC

[jira] Commented: (SLING-1519) URL Mappings for URL paths containing "-" does not work

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

Felix Meschberger commented on SLING-1519:
------------------------------------------

Implemented this change and fixed default configuration and Metatype Service descriptive texts in Rev. 941335.

> URL Mappings for URL paths containing "-" does not work
> -------------------------------------------------------
>
>                 Key: SLING-1519
>                 URL: https://issues.apache.org/jira/browse/SLING-1519
>             Project: Sling
>          Issue Type: Bug
>          Components: JCR
>    Affects Versions: JCR Resource 2.0.6
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>             Fix For: JCR Resource 2.0.8
>
>
> Consider the following mapping for JCR Resource Resolver URL Mapping:
>      /content/somesite/en-us/-/
> This breaks, because the dash in "en-us" is considered a separator instead of being part of the incoming URL path thus giving a mapping
>      "/content/somesite/en"   <--> "us/-/"
> To fix this situation in a broader context the "-" should be replaced as the character indicating bidirectional mapping by a ":" and the code adapted to not break on dashes any more.
> For backwards compatibility, the dash should still be supported as a bidirectional indicator.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.