I tried attaching a file with autodetect type, and bugzilla marked it application/octet-stream. File says it is ASCII text. If bugzilla cannot recognize that what is that "feature" about? Either fix it or disable it so that it does not confuse people into thinking that bugzilla can detect the attachment types.
What was the file's name you attempted to attach? (In reply to comment #0) > I tried attaching a file with autodetect type, and bugzilla marked it > application/octet-stream. > > File says it is ASCII text. If bugzilla cannot recognize that what is that > "feature" about? What was the file's name you attempted to attach? > > Either fix it or disable it so that it does not confuse people into thinking > that bugzilla can detect the attachment types. > To be honest, taking a tone like this won't get you very far with me fixing it in bugzilla. -Jeffrey
(In reply to comment #1) > What was the file's name you attempted to attach? > (In reply to comment #0) > > I tried attaching a file with autodetect type, and bugzilla marked it > > application/octet-stream. > > > > File says it is ASCII text. If bugzilla cannot recognize that what is that > > "feature" about? > > What was the file's name you attempted to attach? tst-key1.out - ascii text failed.cc.bz2 - bzip2 compressed There are two .out.gz gzip files attached by somebody else as well. I suspect that application/octet stream is not something one would select manually. ccCS59Rh.out.gz: gzip compressed data, was "ccCS59Rh.out", from Unix ccVMKFeL.out.gz: gzip compressed data, was "ccVMKFeL.out", from Unix, max compression > > > > Either fix it or disable it so that it does not confuse people into thinking > > that bugzilla can detect the attachment types. > > > To be honest, taking a tone like this won't get you very far with me fixing it > in bugzilla. Sorry about that. I find it quite annoying when half of all attachments end up application/octet-stream. At least I got that impression from the bugs I saw. Is the file type related to the filename? If so where is it written? On GNU/Linux one would expect file type determinsd from the content. Where is the bugzilla documentation that would clarify that? The Docs link at the top points to generic Gentoo documentation. Is bugzilla manual hidden there somewhere or is it missing completely? Thanks
@jforman: Is there an _easy_ way to disable the autodetect feature? Unless something changed in 2.22, I'd really prefer to force people select the type manually b/c the magic is very broken... If that's not possible, can it default to text/plain at least? That's what most of the attachements should be anyway, as we don't want tarballs and such.
*** Bug 143564 has been marked as a duplicate of this bug. ***
Still borked on 2.22... http://bugstest.gentoo.org/show_bug.cgi?id=155145
Can someone look into killed this broken autodetect feature on bugstest.g.o. and default to text/plain please? Drives me nuts.
fixed in bugstest. auto-detect is not offered anymore, and the default is now text/plain.