[4.2] Validation : simplify validateMimes