We're using Struts 2 for file uploading, and we're filtering the types of
files people can upload by checking the file's content type against a list
of allowed mime types.
This turns out not to be reliable enough. Firefox in particular seems to
sometimes provide the wrong mime type, so some valid files are being
rejected.
My question is: has anyone come across a reliable way to detect a file's
mime type?
Thanks,
Steve
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org