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.