[OSM-talk] Announce: new version of Validator plugin
Martijn van Oosterhout
kleptog at gmail.com
Tue May 29 15:01:54 BST 2007
On 5/28/07, Thomas Walraet <thomas at walraet.com> wrote:
> I assumed that IE7 rename the file if the extension doesn't match the
> file content to prevent .dll or .exe to be downloaded as PDF or JPG.
> (and as they purposely ignore Java, they don't care about .jar and .war)
This just shows the fundamental bogosity of Microsofts approach: there
is no decernable difference in the headers between zip and jar. I can
almost understand the heuristic when it comes to exe and dll files
(because of windows lack of execute permissions) but when it comes to
datafiles changing the extension can produce big problems (such as
which started this thread).
The extension is part of the filename and if I want to call my zip
file "foo.dat" then a user doing "save as" should get that filename
and not "foo.zip". Content type be damned.
Have a nice day,
--
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/
More information about the talk
mailing list