CTOlet / yii2-attachments

Yii2 extension for uploading and attaching the files to the models
66 stars 57 forks source link

when uploaded file has no extension upload failes (type cannot be empty in model) #61

Open tsdogs opened 7 years ago

tsdogs commented 7 years ago

I know this might not be of much use to many, though if the uploaded file has no extension the upload fails 'cause the type (fileType) field is empty and this is not allowed...

Using windows this probably would never get triggered, though using linux as a client it might create problems (as files are not interpreted by the extension but by it's content mimetype)