W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2012

Re: [whatwg] [mimesniff] Sniffing archives

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 4 Dec 2012 18:32:47 +0000 (UTC)
To: "Gordon P. Hemsley" <gphemsley@gmail.com>
Message-ID: <Pine.LNX.4.64.1212041830590.12469@ps20323.dreamhostps.com>
Cc: whatwg List <whatwg@whatwg.org>
On Tue, 4 Dec 2012, Gordon P. Hemsley wrote:
> To be more specific:
> (1) Safari doesn't appear to prompt the user for any downloads. It
> just automatically downloads any file it can't handle.
> (2) If you allow Safari to open "safe" files that it downloads, ZIP
> appears to be one of them. Gzip and RAR, however, do not.
> So this isn't the most convincing argument.

In particular, it doesn't seem like this needs to be defined in the MIME 
sniff spec. There's no harm in the browser sniffing more non-scripted 
types than the spec says, if it's just for labeling or handling at the OS 
level. It's when one browser handles something as completely safe and 
another handles something as live, or when a browser displays a file 
differently than another browser, that there's a problem, really.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 4 December 2012 18:33:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:50 UTC