Is there some reason why uploading a MS Word Document would tell the server that the file has a mime type of "application/octet-stream"????? (In IE only)
Trying to filter so that only Word Documents, PDFs, and Jpegs get through - but when I test in IE it doesn't send the mime type headers correctly for the file "example.doc"
Two things that might help:
1. - I don't have MS Word installed, not sure if IE is trying to verify that it is in fact a word document through some of MS's evil work
2. - Of course it works in all other browsers, I'm guessing nobody is surprised
Is it safe to just filter files by file extension? Since the mime type is browser set, is it any safer than filtering by mime type?
Thanks soooo much in advance & happy Easter to you all who get down like that.
Trying to filter so that only Word Documents, PDFs, and Jpegs get through - but when I test in IE it doesn't send the mime type headers correctly for the file "example.doc"
Two things that might help:
1. - I don't have MS Word installed, not sure if IE is trying to verify that it is in fact a word document through some of MS's evil work
2. - Of course it works in all other browsers, I'm guessing nobody is surprised
Is it safe to just filter files by file extension? Since the mime type is browser set, is it any safer than filtering by mime type?
Thanks soooo much in advance & happy Easter to you all who get down like that.
Comment