arvindr21 / blueimp-file-upload-expressjs

A simple express module for integrating jQuery File Upload.
http://expressjs-fileupload.cloudno.de/
104 stars 69 forks source link

AWS transport sets wrong content type on params for putObject #46

Closed martinschaer closed 9 years ago

martinschaer commented 9 years ago

It seams to me that:

var metaData = getContentTypeByFile(filePath);

needs to be

var metaData = getContentTypeByFile(fileName);

martinschaer commented 9 years ago

I fixed this on my fork. Going to do a pull request soon.