Closed zanderwar closed 5 years ago
On my system, such an empty file has a MIME of inode/x-empty
.
If you wish to accept such files, you can add it to the $allowed
array of MIME types.
Right, agreed that it does come through with that mime-type, thanks @verot
Uploading a .txt file of size 0 bytes periodically returns "Incorrect file type"
Is this intended? I understand it's unorthodox to upload a file with nothing in it but none-the-less the mime type is valid and should be allowed through