how would you validate an uploaded file's mime_type in Rails controller?

后端 未结 0 1559
失恋的感觉
失恋的感觉 2020-11-22 11:20

I\'m encrypting my Shrine file uploads in a controller action, and need some way of validating their mime types before handing them off to be encry

相关标签:
回答
  • 消灭零回复
提交回复
热议问题