jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3218) UserProvider.getFolderPath may throw StringIndexOutOfBoundsException
Date Wed, 12 Aug 2015 09:08:46 GMT

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

angela updated OAK-3218:
------------------------
    Affects Version/s:     (was: 1.3.4)

> UserProvider.getFolderPath may throw StringIndexOutOfBoundsException
> --------------------------------------------------------------------
>
>                 Key: OAK-3218
>                 URL: https://issues.apache.org/jira/browse/OAK-3218
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>             Fix For: 1.3.4
>
>
> the 'intermediate' path passed to the createUser or createGroup is empty string (instead
of null) or evaluates to empty string when being converted from absolute path, UserProvider.getFolderPath
throws StringIndexOutOfBoundsException. This should obviously be avoided; proposed fix: treat
empty relative path the same as {{null}} and fall back to the implementation defined content
structure.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message