Closed btahir closed 1 year ago
@btahir
For wav you can try to use MIME type audio/x-wav
For mp3 audio/mpeg
MIME Type should be used
Can't say anything specific regarding runtime issue you are having though
@markflorkowski There is definitely a bug. I opened a PR. Please take a look #215
What happened?
Trying to restrict files based on extension. I tried
but it gave me the following error
Similar errors for audio/mp3, audio/wav and video/mpeg etc
Additionally I also got a Type error for audio/mp3 or wav
What did you expect to happen?
Expected it to restrict uploaded files based on the MIME Types I listed.
Version
5.1.0
Reproduction Steps
No response
Reproduction Repository
No response
Relevant log output
No response
Code of Conduct