severity 346030 wishlist
tags 346030 + wontfix
quit

On Wed, Jan 04, 2006 at 03:33:49PM -0800, Joshua Rodman wrote:
> Several httpds, thttpd, fnord, and others default to type text/plain if
> the file extension is not in a short compiled-in fixed list.  The use of
> a compiled in list is a good idea for purposes of chroot, security, etc.
> 
> However, the use of a short fixed list means that many common file types
> will not be on the list. Your addition of 'deb' and others to this list
> testafies to this.  
> 
> When the default is text/plain, this causes unix configfiles and the
> like to display nicely in browsers.  However, it causes binary files
> downloaded by windows clients to become corrupted via the LF -> CR/LF
> translation implemented in their (foolish?) operating system.
> 
> Since I do not like my datafiles to be corrupted on download, I have to
> manually patch my httpd for every revision that comes out to default the
> mime type to application/octet-stream, which is safe for all uses.
> Another approach would be to add 30 or so (and growing over time) other
> extensions to the fixed list.
> 
> I often get behind in this because it is not really a job or anything,
> which means i am often open to compromise or my users are often getting
> corrupt downloads.
> 
> I think correct is better than convient, and thus I consider this a bug.

Hi Joshua,

I don't want to divert from upstream fnord here, and accept their
decision to default to text/plain.  If you feel strong about this
request,  I suggest you contact upstream and try to convince them
to change the default content-type.

Thanks, Gerrit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to