W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > November 2011

[Bug 11482] WF2: Change accept="" to accept file extensions as well as MIME types (maybe based on whether they start with a period)

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Nov 2011 14:48:36 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RR3GW-0008UQ-P0@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11482

--- Comment #15 from Henri Sivonen <hsivonen@iki.fi> 2011-11-17 14:48:33 UTC ---
(In reply to comment #14)
> File extensions aren't any more exact than MIME types, IMHO. What's the format
> of a .doc file? There's dozens of software packages that use that extension.
> Even Word uses that same extension for multiple different formats.

Even if you can find an example of non-Word files being named .doc, it doesn't
make MIME types and and file name extensions equally (in)exact. Chances are
that for upload, a filter based on file name extension would still have a
better success rate than MIME types, because the current systems in use use
file name extensions, so a browser-provided always-incomplete mapping layer
isn't needed.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 17 November 2011 14:48:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 17 November 2011 14:48:46 GMT