Internet Explorer – Strange Feature

Uncategorized — Антон Марчуков @ 14.04.06 14:53

We are given two almost the same files (they are parts of a CD image):

joy$ file POPT2T.md1
POPT2T.md1: ASCII text, with very long lines, with no line terminators
joy$ file COD2_DISK1.md1
COD2_DISK1.md1: data

They are both not text files and the “file” command in the first case determines file type incorrectly, so does Internet Explorer. It successfully downloads the second file, but tries to open the fist one as a text. OMG, but for what purposes? Not to mention that a mime-type returned by the web server is application/octet-stream in both cases. And of cause all other browsers don’t think they are clever than the user and downloads the files in both cases as it should be. IE developers have to be killed, yeah, right now.

No comments yet.

Leave a comment

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2017 Anton Martchukov's Weblog | powered by WordPress with Barecity