EasyAdminBundle icon indicating copy to clipboard operation
EasyAdminBundle copied to clipboard

Replace unsafe guessClientExtension() method with guessExtension()

Open alshenetsky opened this issue 10 months ago • 0 comments

guessClientExtension() method can not be trusted because it depends on request data. In addition, it will be easier to write tests because the extension of the uploaded file no longer depends on the MIME type passed in the request.

alshenetsky avatar Apr 11 '24 13:04 alshenetsky