Re: [whatwg] [mimesniff] Sniffing archives

On Tue, Dec 4, 2012 at 9:40 AM, Adam Barth <w3c@adambarth.com> wrote:
> Also, some user agents treat downloads of
> ZIP archives differently than other sorts of download (e.g., they
> might offer to unzip them).

Which user agents? For this use case, merely sniffing for the zip
magic number is inadequate, because you really don’t want to offer to
unzip EPUB, ODF, OOXML, XPS, InDesign, etc. files.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Tuesday, 4 December 2012 08:13:14 UTC