You might like to report this to the commons-upload guys
We basically wrap their
org.apache.commons.fileupload.FileItem class
On the other hand, I believe this to be the correct behavior.
As mentioned in the docs, the MIME type returned is
the one specified when the file was uploaded, i.e. what t
Hello,
The method getContentType() from IUploadFile doesnt check the mime type
of the file, like it describes
String getContentType()
Returns the MIME type specified when the file was uploaded.
Instead, it only checks the extension of the file.
So, the methode will for exa