有没有办法根据内容而不是回形针中的扩展名来验证文件。如果我将.dll
文件重命名.png
并上传。它通过了content_type
验证,但没有说xxx.png is not recognized by the 'identify' command
. 有没有办法解决这个问题?
问问题
92 次
有没有办法根据内容而不是回形针中的扩展名来验证文件。如果我将.dll
文件重命名.png
并上传。它通过了content_type
验证,但没有说xxx.png is not recognized by the 'identify' command
. 有没有办法解决这个问题?