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

Konrad Windszus edited comment on JCRVLT-488 at 12/24/20, 10:42 AM:
--------------------------------------------------------------------

The test does not show that it is not symmetric, but even the generated 
platform format {{_%3aoak_mount-libs-nodetype}} is not correctly unescaped back 
to to repo format, instead it becomes {{%3aoak:mount-libs-nodetype}} because 
the {{%3a}} is not unescaped, if it occurs between the first {{_}} and second 
{{_}}.


was (Author: kwin):
The test does not show that it is not symmetric, but even 
{{_%3aoak_mount-libs-nodetype}} is not correctly unescaped, instead it becomes 
{{%3aoak:mount-libs-nodetype}} because the {{%3a}} is not unescaped, if it 
occurs between the first {{_}} and second {{_}}.

> PlatformNameFormat incorrectly sets repository names for nodes with double 
> colons
> ---------------------------------------------------------------------------------
>
>                 Key: JCRVLT-488
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-488
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>          Components: vlt
>    Affects Versions: 3.4.6
>            Reporter: Robert Munteanu
>            Priority: Major
>
> With a node name such as ":oak:mount-libs-nodetype" the 
> {{PlatformNameFormat}} class generates a platform name of 
> {{_%3aoak_mount-libs-nodetype}}, which looks incorrect : 
> - leading underscore should not be there
> - second underscore should not be there, as it's not part of a namespace 
> declaration



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to