You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2019/07/29 06:32:05 UTC

[jira] [Closed] (OAK-8457) Constructor allows creating invalid path

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

Julian Reschke closed OAK-8457.
-------------------------------

> Constructor allows creating invalid path
> ----------------------------------------
>
>                 Key: OAK-8457
>                 URL: https://issues.apache.org/jira/browse/OAK-8457
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: documentmk
>    Affects Versions: 1.14.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Minor
>             Fix For: 1.16.0
>
>
> The constructor {{Path(String)}} does not check whether the passed String is in fact a node or rather a path (containing the slash character). The constructor should throw an exception when the String represents a path with more than one element.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)