active_storage_validations
active_storage_validations copied to clipboard
How i Can validate file by mime type
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
if you can create a PR with a fix
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