Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3218

UserProvider.getFolderPath may throw StringIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.4, 1.4
    • core
    • None

    Description

      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.

      Attachments

        Activity

          People

            angela Angela Schreiber
            angela Angela Schreiber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: