mercredi 16 mars 2016

Laravel 5: Mime type validation issue

I have applied following rules:

            $this->validate($request, [
                'receiptfile' => 'mimes:png,jpeg,gif,pdf,doc'
            ]);

Then why .xls file is validated and passed from that rule on server which is not specified in rule at all. I have checked with multiple .xls files



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire