}
<BUG>if (FileUtils.checkIfFileIsHidden(file.getName(), this.configuration)) {
</BUG>
return Constants.Errors.CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST;
}
<BUG>if (!configuration.getAccessControl().checkFolderACL(file.getType(), file.getFolder(), this.userRole,
</BUG>
AccessControl.CKFINDER_CONNECTOR_ACL_FILE_VIEW)) {
return Constants.Errors.CKFINDER_CONNECTOR_ERROR_UNAUTHORIZED;
}

}
if (file.getFolder() == null || file.getFolder().isEmpty()) {
return Constants.Errors.CKFINDER_CONNECTOR_ERROR_INVALID_REQUEST;
}
