Welcome Guest, Not a member yet? Register   Sign In
why Upload checks Mime types for allowed file types?
#1

[eluser]eroy4u[/eluser]
Why can't Upload just check the extension for allowed file types?

e.g. supposed I set 'ppt' as the allowed file type,
why don't the Upload library check if 'ppt' is the extension of the file,
instead checking 'application/powerpoint'?

as I think some powerpoint maybe of mime type 'application/octet-stream',
so this will make clients not able to upload a '.ppt' file with mime type 'application/octet-stream.

am I right?


Messages In This Thread
why Upload checks Mime types for allowed file types? - by El Forum - 06-16-2008, 10:26 AM
why Upload checks Mime types for allowed file types? - by El Forum - 06-16-2008, 11:42 PM
why Upload checks Mime types for allowed file types? - by El Forum - 06-16-2008, 11:48 PM
why Upload checks Mime types for allowed file types? - by El Forum - 06-16-2008, 11:52 PM
why Upload checks Mime types for allowed file types? - by El Forum - 06-17-2008, 12:16 AM
why Upload checks Mime types for allowed file types? - by El Forum - 06-17-2008, 07:22 PM
why Upload checks Mime types for allowed file types? - by El Forum - 06-17-2008, 11:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB