Restricting file upload in Media Library using specific mime types. For example , only jpeg and png files

this didn’t work with me. It still allowed uploading a .csv file.