Open alshenetsky opened 1 month ago
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.
guessClientExtension()
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.