Last post Nov 10, 2005 12:47 AM by qbernard
Nov 04, 2005 11:31 AM|pederszr|LINK
Any ideas on resolving this issues would be much appreciated. Having problems with both "content-disposition" of inline and attached modes being served.
Internet Explorer is incorrectly interpreting the mime “content type” of valid TIF file and routing it to simple html view. All incorrectly displayed TIF files contain a common characteristic of repeated “60 6C” at the beginning of the file. This
issue shows up both when simply referencing a file within an IIS root folder and when serving the file via .net and correctly setting the “content type” on the response. This problem is showing up on many different desktop configurations but that all have
IE 6.0 and SP2 installed. This problem does not occur with any other browser type then IE 6.0. We can download this same file and view it in any other image viewer correctly.
From an initial analysis it appears that IE is interpreting the file possibly as a “threat” and downgrading the “mime type” in an “inline” configuration. We tried turning off “Mime Sniffing” and other security features with no success. We also tried both
“content-disposition” states of “inline” and “attachment” with different behaviors. In an inline configuration we got the results shown below and in an “attachment” configuration the mime type of “image/tiff” was recognized (as would be expected) but the
actual TIF file was not placed in the IE TEMP directory and a file not found error was thrown by the image viewing application launched.
We have been able to replicate this problem with many files that have the same repeated “60 6C” hex codes. The vast majority of the TIF files within our system display correctly (they do not have the repeating “60 6C” hex codes).
Nov 06, 2005 10:16 PM|qbernard|LINK
Nov 06, 2005 11:04 PM|pederszr|LINK
Here is a link to a file with this problem.
Nov 07, 2005 09:15 PM|qbernard|LINK
Interesting, browsing with IE on XP SP2 give me a junk chars return page, while work fine on Firefox (some scan picture of investigation certificate, right?)
I don't have other OSes now to test the site. This is weird, have you contact microsoft support for this?
Nov 08, 2005 10:31 AM|pederszr|LINK
Nov 10, 2005 12:47 AM|qbernard|LINK