7 months ago

File validation not working properly

Posted 7 months ago by Velja

Laravel file validation seems completely broken. I've set mimes to csv and txt but it will try to parse basically anything, including exe files, configs, etc. I have this set 'file' => 'required|mimes:csv,txt|mimetypes:text/csv,text/plain'

Any idea what is going wrong here?

Please sign in or create an account to participate in this conversation.