fixes #6280 Validation needed for upload plugin