For example $putPolicy->mimelimit = ' audio/* ';
No matter what audio file will return "error": "Limited Mimetype:this file type is forbidden to upload" tested M4A ogg mp3
Then alone tried $putPolicy->mimelimit = ' Audio/ogg '; Even uploading OGG files like this will return the wrong format.
The picture can be used normally $putPolicy->mimelimit = ' image/* ';
Upload the same file without limiting upload seven the content management of the cow shows the mimetype of the file is normal.
Reply content:
For example $putPolicy->mimelimit = ' audio/* ';
No matter what audio file will return "error": "Limited Mimetype:this file type is forbidden to upload" tested M4A ogg mp3
Then alone tried $putPolicy->mimelimit = ' Audio/ogg '; Even uploading OGG files like this will return the wrong format.
The picture can be used normally $putPolicy->mimelimit = ' image/* ';
Upload the same file without limiting upload seven the content management of the cow shows the mimetype of the file is normal.
The result of my test is that the current seven cattle recognition mimetype is not actively identified audio/ogg , you can add Mimelimit plus application/oct-stream try.