active_storage_validations icon indicating copy to clipboard operation
active_storage_validations copied to clipboard

How i Can validate file by mime type

Open Halvanhelv opened this issue 3 years ago • 1 comments

Hello, tell me how you can check the file not only by extension but also by content, because at the moment, if, for example, change the file extension json to jpeg, then the validation does not work. Thanks

Halvanhelv avatar Jul 22 '21 15:07 Halvanhelv

if you can create a PR with a fix

igorkasyanchuk avatar Mar 05 '22 14:03 igorkasyanchuk

Hi @Halvanhelv, Since this issue has been solved by #168 by implementing a new validator processable (check it here), I am closing this issue. Let us know if you have any question

Mth0158 avatar Dec 01 '23 17:12 Mth0158