[whatwg] "Content-Disposition" property for <a> tags

Dennis Joachimsthaler dennis at efjot.de
Thu May 26 11:16:22 PDT 2011


Hi Boris,

Am 26.05.2011, 20:15 Uhr, schrieb Boris Zbarsky <bzbarsky at mit.edu>:

> On 5/26/11 2:06 PM, Dennis Joachimsthaler wrote:

> I believe it forces the extension to match the MIME type; if the type  
> text/plain the saved filename will be  
> "Important_Security_Update.exe.txt".

Ah, alright. This is good though.

> Well, in the Firefox case non-Windows OSes, where the theory is that the  
> handling of a file does not depend on the extension but the practice is  
> ... variable.

Wouldn't this be no immediate problem on Linux type OSs? There's usually
no execution bit set on files downloaded. And practically you can run
ALL files as binaries, it looks for the ELF header as far as I know.

> -Boris

- Dennis Joachimsthaler



More information about the whatwg mailing list