You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Property $mimeTypes in MimeTypeGuesser contains only 'application/zip' for zip extension. More mimes like 'application/x-zip-compressed' must be added to $mimeTypes.
Or MimeTypeGuesser can have ability to extend $mimeTypes by user, for example $validator->addMimeType('application/x-zip-compressed', 'zip');
The library is not validating zip files. Am I doing something wrong? Here is my code:
'zipfile' => 'required_if:media_type,Art Work,Manuals,Sell Sheets,Warnings,Warranties|uploaded_file:0,50M,zip,rar,7zip',
also tried
'zipfile' => 'required_if:media_type,Art Work,Manuals,Sell Sheets,Warnings,Warranties|uploaded_file:0,50M|mimes:zip',
also tried
'zipfile' => 'required_if:media_type,Art Work,Manuals,Sell Sheets,Warnings,Warranties|uploaded_file:0,50M,application/x-rar-compressed,application/octet-stream,application/zip,application/x-zip-compressed,multipart/x-zip',
Thanks
The text was updated successfully, but these errors were encountered: